Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@anthony-chaudhary
Copy link
Member

Add dedicated change project button for rare contexts

Keeping in mind the context that we normally set the project when the user logins in, in the rare event that there is no project:
image

  1. The part that was confusing was that change project was within the project menu.
    This meant that various conditions that made sense for most of the menu did not make sense for change project.

  2. Now there is a dedicated change project, that will only show up when there is no active project, the user's email is verified, and there is a project available

  3. Now the project and task menus only shows when there's an active project.
    While there's some UI trade offs for now that seems simpler then the disabled

while we could "get smart" about some of the other resume onboarding, change, new project etc. there are so many contextual things for now feels better to keep that screen open - again keeping in mind it's a fallback that users should rarely get to

this iteration should close #817

Not sure why this was commented out
but it's causing a vue warn
Maybe other functions we need to restrict here but then let's remove it entirely etc
1) The part that was confusing was that change project was within the project menu.
So it meant that various conditions that made sense for most of the menu did not make sense for change project.
2) Now there is a dedicated change project, that will only show up when there is no active project, the user's email is verified, and there is a project available
3) Now the project/task menu only shows when there's an active project.
While there's some UI trade offs for now that seems simpler then the disabled
4) Note for reactivity and context it seems that we need it in the menu and button

while we could "get smart" about some of the other resume onboarding, change, new project etc. there are so many contextual things for now feels better to keep that screen open - again keeping in mind it's a fallback that users should rarely get to
Old iteration direction
@anthony-chaudhary anthony-chaudhary marked this pull request as ready for review April 19, 2022 01:20
@github-actions
Copy link

github-actions bot commented Apr 19, 2022

Unit Test Results

0 files  ±0  0 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit d4c3c6e. ± Comparison against base commit 28d76e4.

♻️ This comment has been updated with latest results.

@anthony-chaudhary
Copy link
Member Author

This is a pretty small one so am planning to merge once tests pass

@cypress
Copy link

cypress bot commented Apr 19, 2022



Test summary

127 1 0 0Flakiness 1


Run details

Project DiffgramFrontend
Status Failed
Commit df7bf27daa ℹ️
Started Apr 19, 2022 1:25 AM
Ended Apr 19, 2022 2:05 AM
Duration 40:02 💡
OS Linux Debian - 10.9
Browser Chrome 90

View run in Cypress Dashboard ➡️


Failures

cypress/integration/diffgram/user/user_login_spec.js Failed
1 Login Flow tests > Should have initial state

Flakiness

cypress/integration/diffgram/annotate_files/06_annotate_files_instance_drawing_spec.js Flakiness
1 ... > Correctly Saves The edited instances

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@anthony-chaudhary anthony-chaudhary merged commit cf646d2 into master Apr 19, 2022
@anthony-chaudhary anthony-chaudhary deleted the login-new-assumptions branch April 19, 2022 02:35
PJEstrada pushed a commit that referenced this pull request Nov 16, 2022
* Restore

Not sure why this was commented out
but it's causing a vue warn
Maybe other functions we need to restrict here but then let's remove it entirely etc

* Add dedicated change button

1) The part that was confusing was that change project was within the project menu.
So it meant that various conditions that made sense for most of the menu did not make sense for change project.
2) Now there is a dedicated change project, that will only show up when there is no active project, the user's email is verified, and there is a project available
3) Now the project/task menu only shows when there's an active project.
While there's some UI trade offs for now that seems simpler then the disabled
4) Note for reactivity and context it seems that we need it in the menu and button

while we could "get smart" about some of the other resume onboarding, change, new project etc. there are so many contextual things for now feels better to keep that screen open - again keeping in mind it's a fallback that users should rarely get to

* Remove old code `annotation_assignment`

Old iteration direction

* Add clear_userProjects_list concept

* Remove old annotation_project concept
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Old account being treated as a new account and menu icons greyed out

2 participants