Skip to content

Commit 64551e7

Browse files
authored
feat: highlight tags (#10)
* fix: check ready state of element on mount * feat: schema for tags * feat: scaffold new note * feat: prompt, empty text input * feat: tags text editor logic * feat: complex input, focus state * feat: couple text input and tags input focus interactions * feat: add custom resolver template * feat: add cloudformation template for custom resolver * feat: add batch write resolvers for Tag and HighlightTag * WIP: integrating tags into notes container * feat: initial implementation of deleteHighlightTags * WIP: api tweaks to support empty mutation * feat: integrate tags support into editor * feat: initial implementation of tags filter * wip: handle tag changes in cache update logic * feat: note editor cache updates * WIP: implementing new tag logic on new note screen * feat: handle highlightTags when deleting highlight * WIP: refactor towards common editor base * feat: refactor notes editor onto common editor base * feat: refactor new note editor onto common editor base * feat: refactor new from share onto editor base * feat: enforce tag, highlight unique * feat: return full item in transaction mapping result * feat: handle transaction errors * feat: add transactional updateHighlightAndTags resolver * feat: add transaction createHighlightAndTags resolver * feat: scaffold DynamoDBStream handler * feat: add function build config * chore: DynamoDBStream deployment * feat: scaffold DynamoDBStream logic * wip: debugging dynamodbstream function * wip: externals for aws * wip: debugging * fix: check cache to validate whether tag needs to be created * fix: resolve permission issues with ModelHighlightTagConnection * feat: consistent tag order on notes * feat: authenticating prior to creating new note * fix: restore createHighlightFromScreenshot flow * style: remove extra padding from NoteEditor_NewFromShare * chore: use raw GraphQL client in PostAuthentication * chore: increment android version
1 parent 5d10ad1 commit 64551e7

File tree

131 files changed

+29890
-3937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+29890
-3937
lines changed

packages/android/.idea/jarRepositories.xml

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/android/.idea/misc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/android/amplify/backend/backend-config.json

+30-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,35 @@
7777
"providerPlugin": "awscloudformation",
7878
"build": true,
7979
"dependsOn": []
80+
},
81+
"DynamoDBStream": {
82+
"service": "Lambda",
83+
"providerPlugin": "awscloudformation",
84+
"build": true,
85+
"dependsOn": [
86+
{
87+
"category": "auth",
88+
"resourceName": "literalAuth",
89+
"attributes": [
90+
"UserPoolId"
91+
]
92+
},
93+
{
94+
"category": "api",
95+
"resourceName": "literal",
96+
"attributes": [
97+
"GraphQLAPIIdOutput",
98+
"GraphQLAPIEndpointOutput"
99+
]
100+
},
101+
{
102+
"category": "storage",
103+
"resourceName": "literalStorage",
104+
"attributes": [
105+
"BucketName"
106+
]
107+
}
108+
]
80109
}
81110
},
82111
"storage": {
@@ -101,4 +130,4 @@
101130
]
102131
}
103132
}
104-
}
133+
}

packages/android/app/build.gradle

+9-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ android {
55
compileSdkVersion 29
66
buildToolsVersion "29.0.3"
77

8+
compileOptions {
9+
sourceCompatibility 1.8
10+
targetCompatibility 1.8
11+
}
12+
813
defaultConfig {
914
applicationId "io.literal"
1015
minSdkVersion 16
1116
targetSdkVersion 29
12-
versionCode 2
13-
versionName "1.1"
17+
versionCode 3
18+
versionName "1.2"
1419

1520
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1621
}
@@ -27,9 +32,9 @@ android {
2732
dependencies {
2833
implementation fileTree(dir: 'libs', include: ['*.jar'])
2934

30-
implementation 'androidx.appcompat:appcompat:1.0.2'
35+
implementation 'androidx.appcompat:appcompat:1.1.0'
3136
implementation "com.android.support:support-compat:28.0.0"
32-
implementation 'androidx.webkit:webkit:1.1.0'
37+
implementation 'androidx.webkit:webkit:1.2.0'
3338

3439
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
3540
testImplementation 'junit:junit:4.12'

0 commit comments

Comments
 (0)