Skip to content
This repository was archived by the owner on Nov 29, 2019. It is now read-only.

Taxonomy translate devas 1625#468

Merged
amensouissi merged 19 commits into
developfrom
taxonomyTranslate_DEVAS-1625
Aug 2, 2018
Merged

Taxonomy translate devas 1625#468
amensouissi merged 19 commits into
developfrom
taxonomyTranslate_DEVAS-1625

Conversation

@vincentfretin

Copy link
Copy Markdown
Contributor

No description provided.

graphql(UpdateHarvestingTranslationPreference, {
name: 'updateHarvestingTranslation'
})
)(DumbPostBody); No newline at end of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use redux connect here for perf reason. There is a comment about it in common/post/index.jsx, this applies to children down the tree.

handleMouseUpWhileHarvesting={[Function]}
id="XYZ333"
isHarvesting={false}
isHarvesting={undefined}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is strange that this is now undefined.

if (connectedUserId && isHarvesting) {
// TODO check if the phase identifier (displayed phase: see the URL) is in ['thread', 'multiColumns']
// const isHarvestablePhase = HARVESTABLE_PHASES.includes(getDisplayedPhaseIdentifier())
if (connectedUserId && isHarvesting /* && isHarvestablePhase */) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

with context.begin_transaction():
op.add_column(
'extract',
sa.Column('lang', sa.String(20), nullable=False))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a foreign key to locale table I think.

@vincentfretin

Copy link
Copy Markdown
Contributor Author

The lang field on extract table should have been a foreign key to locale table I think.

@vincentfretin

Copy link
Copy Markdown
Contributor Author

The backend part should have been based on the work done in #399 no? cc @ayyazdaniaryan

@vincentfretin vincentfretin force-pushed the taxonomyTranslate_DEVAS-1625 branch from 026107e to 8b0e691 Compare July 13, 2018 14:10
@amensouissi amensouissi force-pushed the taxonomyTranslate_DEVAS-1625 branch 2 times, most recently from 9c39152 to d4875c9 Compare July 30, 2018 14:33
@amensouissi amensouissi force-pushed the taxonomyTranslate_DEVAS-1625 branch from 500f5aa to 6d294eb Compare July 31, 2018 13:49
@amensouissi amensouissi force-pushed the taxonomyTranslate_DEVAS-1625 branch from 6d294eb to dec7070 Compare August 2, 2018 09:10
@amensouissi amensouissi merged commit ae394ca into develop Aug 2, 2018
@amensouissi amensouissi deleted the taxonomyTranslate_DEVAS-1625 branch August 2, 2018 12:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants