-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* timeoutSuggest + remove property Project.load * make get_partial_csv a separate endpoint * ammendment to previous commit: until we fix frontend to not expect partial csv, need to return some default * display all the option for role * add a cache within wikidata provider * fix bug onSelectionChange- selectedAnnotationBlock can be undefine * get partial csv * add more activating css and striping css * add an await so we get the spinner for suggest * onSelectionChange fix bug change area * switch to a different endpoint * stop using a database for entities * remove database from test client * limit partialCsv to 150 rows for now (will be changed once statement generation limits are changed) * fix stupid bug that fetches mapping and partial csv three times... * get partial csv when submitting annotations, and add a spinner when submitting annotations Co-authored-by: ChanaChelem <[email protected]>
- Loading branch information
1 parent
d4048f3
commit d46b63e
Showing
26 changed files
with
569 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"""add index to cache_id | ||
Revision ID: 0a923cbc1283 | ||
Revises: 28a3625f6dd6 | ||
Create Date: 2021-05-02 13:27:58.664291 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '0a923cbc1283' | ||
down_revision = '28a3625f6dd6' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('wikidata_entity', schema=None) as batch_op: | ||
batch_op.create_index(batch_op.f('ix_wikidata_entity_cache_id'), ['cache_id'], unique=False) | ||
|
||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('wikidata_entity', schema=None) as batch_op: | ||
batch_op.drop_index(batch_op.f('ix_wikidata_entity_cache_id')) | ||
|
||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.