-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update sketch list styling #819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Highlighting could be done using bold text? |
@hellonearthis I used bold text 😅. Didn't realise it was highlighting. I will make updates in the next commit if required. |
this is looking great! i'd take a closer look at the zeplin screen for some alignment/color issues:
which highlighting do you mean? when you hover over the dropdown? i would follow the same color/highlight pattern as the navigation dropdowns. |
@catarak I would address these details at the earliest. In the beginning I did not realize that you can view CSS styles in the Zeplin itself 😅 |
|
@catarak I have made the necessary changes (except themification) but I am facing some issues with |
@LakshSingla Just so you're aware, it looks like you committed the deletion of the |
@meiamsome I have included the changed package-lock.json while updating my branch with the current master. |
thanks for making the changes, it is looking better! a few things i noticed:
|
@catarak I am making the desired changes. However a few small things :
|
@catarak I have added
|
@catarak Update on overlay closing issue when we click outside :- In Google Chrome too, it is working as intended, i.e. shows the behavior as shown in the GIF commented above. (Chrome Version 71.0.3578.98). |
@catarak Should I go ahead and start creating a modal for renaming of the project name (only that functionality is left in the modal) or is there another UI you have in mind. Also is the issue that |
@LakshSingla when updating a sketch name from this overlay, it should update server side. the action you need might not exist! also, when editing a sketch name, i would follow the same UI/UX as when editing a project name when it's open—it should create an inline |
also, i think what's happening is that when you open the dropdown, and you click outside, it's opening a specific sketch, so it appears that it's closing the overlay, but really it's opening a sketch. kind of a confusing UX bug. i think a solution is changing how you open a sketch from the list—would need to do a little bit a research to figure out the right UX here! |
Ohh I haven't thought of that case. My bad 😯. In most of the desktop environments, if a dropdown is open (say for example on right clicking the desktop), then any click made to the desktop is not processed, but the dropdown closes. That approach is intuitive, IMO.
Please suggest if you need any other type of UX 😄 . (I am not sure how such cases are handled in Macs) I will make the said changes. Also by the |
@catarak I have updated the UX accordingly. Could you please check it and lemme know what you think of it :). Also, hopefully the bug that you stated is also fixed. UPDATE: On the rename task, here is what all I found:
|
@catarak I have created the UI/UX for renaming of the project. I will write reducers and actions later. Please play around and lemme know your opinions, and suggestions (if any) I need to implement. |
this is looking so great! i think it's a little awkward when you click on the "share" dropdown, it appears over the sketch list, and then when you click its "X", both overlays close. i'm not sure what the right UX here though, and i think some research is necessary. |
and i think you'll need to use the |
@catarak According to me, I am making some changes to the Lemme know if I should do this by some other way or not. UPDATE: I am unable to find the cause why the SketchList is closing when Share modal is closed |
e9d06f6
to
fc9c543
Compare
@catarak This feature is almost complete from my side 🎉 🎉
|
fc9c543
to
2fdcafd
Compare
@catarak Here are some further issues which can be spin-off from this PR (apart from implementing the search bar, and sorting of sketches):
|
@catarak I have brought my branch upto date with the current master. 😄 |
@catarak Any further updates? Did you review the changes I made? 😅 |
@jonathan-s Thanks a lot for the review, I appreciate it. I missed these lines while cleaning up my code. I will take another look at my code, to check if I have missed some other things like these. 😄 |
9dac841
to
7174ce5
Compare
this is looking good. you've left in a few commented out changes, and it would be great if you took those out. |
ec51c13
to
17312a9
Compare
@catarak I have tried to remove all the commented out changes. Please let me know if there is any specific line which you want me to clean, or which I might have missed 😄. I have also updated the branch to the latest version of master |
fill: getThemifyVariable('nav-hover-color'); | ||
} | ||
} | ||
}*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this commented code can be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
@include themify(){ | ||
border-bottom: 1px dashed map-get($theme-map, 'inactive-text-color'); | ||
} | ||
// color: #ffffff; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code here is also commented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again :)
1fb2f63
to
1012a51
Compare
Any further updates, or corrections which I may have missed ? |
hi @LakshSingla! sorry for the delay on this. there's been a ton of activity in this repository and i'm trying to get through it all. |
@catarak No problem at all! I felt that something more had to be done on my part, which I forgot to address. |
@catarak Did you get a chance to review this ? |
sorry for the slowness on this, hang tight! |
@catarak Any updates? It has been around 1.5 months since my last commit was reviewed 😅 . |
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400 parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400 parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400 Created initial html structure and styling for new SketchList design Final styling of ActionDialogueBox commplete Dropdown menu disappearing while clicking anywhere on the table Fixed linting issues and renamed variables Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color Added Delete and Share functionality to Dialog box Added Duplicate functionality to Dialog box Added download functionality to Dialog box SketchList does not open a sketch if dialogue box is opened SketchList Rename initial UI completed Enter key handled for rename project option [WIP] Updating rename functionality Download option now working for all the sketches Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX fix broken files from rebasing Created initial html structure and styling for new SketchList design Final styling of ActionDialogueBox commplete Added Delete and Share functionality to Dialog box Added Duplicate functionality to Dialog box [WIP] Updating rename functionality Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Final styling of ActionDialogueBox commplete Fixed linting issues and renamed variables Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown Added Delete and Share functionality to Dialog box [WIP] Updating rename functionality Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX fix broken files from rebasing Final styling of ActionDialogueBox commplete Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown [WIP] Updating rename functionality Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX
a1f1e7f
to
22ee762
Compare
…nor updates ot icon sizing
i think this is ready to merge! i didn't know what to do about the share modal flow (i still don't think it's great to layer it on top of the list modal), so i decided to just comment out that option for now, for the sake of getting this merged in. thanks for your work on this @LakshSingla! |
@catarak In case you finalize another share modal flow, I tag me in the issue / PR too. I will try to work on that issue 😄 |
* parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400 parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400 parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400 Created initial html structure and styling for new SketchList design Final styling of ActionDialogueBox commplete Dropdown menu disappearing while clicking anywhere on the table Fixed linting issues and renamed variables Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color Added Delete and Share functionality to Dialog box Added Duplicate functionality to Dialog box Added download functionality to Dialog box SketchList does not open a sketch if dialogue box is opened SketchList Rename initial UI completed Enter key handled for rename project option [WIP] Updating rename functionality Download option now working for all the sketches Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX fix broken files from rebasing Created initial html structure and styling for new SketchList design Final styling of ActionDialogueBox commplete Added Delete and Share functionality to Dialog box Added Duplicate functionality to Dialog box [WIP] Updating rename functionality Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Final styling of ActionDialogueBox commplete Fixed linting issues and renamed variables Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown Added Delete and Share functionality to Dialog box [WIP] Updating rename functionality Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX fix broken files from rebasing Final styling of ActionDialogueBox commplete Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown [WIP] Updating rename functionality Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX * fix bugs in merge commit * move sketch list dialogue to ul/li * update sketch option dropdown to use dropdown placeholder, remove unused css * major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing * fix broken links on asset list * remove unused image, fix options for different users in sketch list
* parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400 parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400 parent b3c3efc author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530 committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400 Created initial html structure and styling for new SketchList design Final styling of ActionDialogueBox commplete Dropdown menu disappearing while clicking anywhere on the table Fixed linting issues and renamed variables Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color Added Delete and Share functionality to Dialog box Added Duplicate functionality to Dialog box Added download functionality to Dialog box SketchList does not open a sketch if dialogue box is opened SketchList Rename initial UI completed Enter key handled for rename project option [WIP] Updating rename functionality Download option now working for all the sketches Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX fix broken files from rebasing Created initial html structure and styling for new SketchList design Final styling of ActionDialogueBox commplete Added Delete and Share functionality to Dialog box Added Duplicate functionality to Dialog box [WIP] Updating rename functionality Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Final styling of ActionDialogueBox commplete Fixed linting issues and renamed variables Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown Added Delete and Share functionality to Dialog box [WIP] Updating rename functionality Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX fix broken files from rebasing Final styling of ActionDialogueBox commplete Minor tweaks in the SketchList dropdown dialogue UI Themifyed the dropdown [WIP] Updating rename functionality Duplicate functionality extended for non opened sketches too Modified overlay behaviour to close only the last overlay Share modal can now display different projects Dropdown closes when Share and Delete are closing for a more natural UX * fix bugs in merge commit * move sketch list dialogue to ul/li * update sketch option dropdown to use dropdown placeholder, remove unused css * major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing * fix broken links on asset list * remove unused image, fix options for different users in sketch list
I have verified that this pull request:
npm run lint
)Fixes #390
@catarak I have created a layout for the dropdown menu item along with the logic for displaying the menu item from the Zeplin specs. It would be great if you could confirm the layout and styling (for white theme) 😄 . After that, I will add functionality to individual buttons.
Here are my concerns / doubts :
My Account
button. Should I add it ?