Skip to content
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

Simple Decisions #3704

Merged
merged 153 commits into from
Oct 19, 2022
Merged

Simple Decisions #3704

merged 153 commits into from
Oct 19, 2022

Conversation

danbr
Copy link
Contributor

@danbr danbr commented Aug 2, 2022

Description

This is the feature branch for "Simple Decisions".

Figma designs: https://www.figma.com/file/oRaTwsD5BUH3FJNzoZdSCv/Discussions?node-id=1018%3A54646

Notion docs with useful info: https://www.notion.so/colony/Simple-Decisions-2d869923870640a5889f9f24b183c65b

Screenshot 2022-08-02 at 12 02 30

Screenshot 2022-08-02 at 12 16 47

Screenshot 2022-08-02 at 12 16 55

Screenshot 2022-08-02 at 12 17 02

Screenshot 2022-08-02 at 12 17 12

Screenshot 2022-08-02 at 12 17 23

@danbr danbr added the feature label Aug 2, 2022
@danbr danbr force-pushed the feature/simple-decisions branch from 4c8781f to e29c6e9 Compare September 27, 2022 05:05
@danbr danbr force-pushed the feature/simple-decisions branch from d60de74 to a68ef62 Compare October 11, 2022 13:34
@danbr danbr requested a review from a team October 11, 2022 14:13
@danbr danbr marked this pull request as ready for review October 11, 2022 14:13
Copy link
Contributor

@chinins chinins left a comment

Choose a reason for hiding this comment

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

All good - finally on the finish line!

Copy link
Collaborator

@willm30 willm30 left a comment

Choose a reason for hiding this comment

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

Great feature!

Noticed some small things:

  1. The font size of the h3 in the preview is 14px, whereas it's 16px in the create decision form. I think the user would expect the preview to reflect exactly the text they enter into the form.

font14

16

  1. There is a space missing before "Create a new Decision"
    space-missing

  2. Create a draft with one user. Switch user. Click "create new decision". The form is not clean, which I would expect it to be.

wron

@danbr
Copy link
Contributor Author

danbr commented Oct 13, 2022

2. There is a space missing before "Create a new Decision"

@willm30 Good catch.... Some non-obvious bugs.

  1. Is fixed with Decisions: Handle Decisions heading formatting in preview & staking pages #3985
  2. looks find on my system, its a button so some margin is added rather than a space.

Screenshot 2022-10-13 at 15 01 28

  1. is being resolved in Decisions: local storage is not correctly associating with a user when storing a Decision #3978

@danbr
Copy link
Contributor Author

danbr commented Oct 13, 2022

  1. There is a space missing before "Create a new Decision"

@willm30 Good catch.... Some non-obvious bugs.

  1. Is fixed with Decisions: Handle Decisions heading formatting in preview & staking pages #3985
  2. looks find on my system, its a button so some margin is added rather than a space.
Screenshot 2022-10-13 at 15 01 28
  1. is being resolved in Decisions: local storage is not correctly associating with a user when storing a Decision #3978

I actually simplified 2. - margin is now removed. The fix is included in #3985
Screenshot 2022-10-13 at 21 54 40

@danbr danbr requested a review from willm30 October 14, 2022 05:13
Copy link
Collaborator

@willm30 willm30 left a comment

Choose a reason for hiding this comment

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

I've tested again and can confirm all previous comments have been addressed. In my clicking around, I've gathered some more, quite minor notes. Not all may need actioning but I mention just in case.

Drafts

  1. Two users can't both have draft decisions simultaneously. If I open a draft in Account 1 and switch to Account 2 and open a draft, then switch back to Acccount 1, the draft in Account 1 disappears. I would expect drafts to be preserved across accounts.

The editor

  1. When you have a list in the editor, if you set a colour for a list item and then hit "Enter" to move to the next list item, it resets the colour. You can then highlight the whole list if you want it all one colour, so this doesn't prevent a user from have an entire list the same colour, it was just something I wasn't expecting.

  2. When I'm in the title input, if I hit "tab", it doesn't focus the textarea, but the toolbar. It would be a nice convenience to jump straight into the textarea when hitting tab from the title input.

The motion

  1. There's an unfinished tooltip [TO BE ADDED WHEN AVAILABLE].
    tooltip2

  2. I get a warning in the console when I click the IPFS refresh link after first publishing a decision. You might have seen this already but just in case:

warning

@danbr
Copy link
Contributor Author

danbr commented Oct 16, 2022

I've tested again and can confirm all previous comments have been addressed. In my clicking around, I've gathered some more, quite minor notes. Not all may need actioning but I mention just in case.

Drafts

  1. Two users can't both have draft decisions simultaneously. If I open a draft in Account 1 and switch to Account 2 and open a draft, then switch back to Acccount 1, the draft in Account 1 disappears. I would expect drafts to be preserved across accounts.

The editor

  1. When you have a list in the editor, if you set a colour for a list item and then hit "Enter" to move to the next list item, it resets the colour. You can then highlight the whole list if you want it all one colour, so this doesn't prevent a user from have an entire list the same colour, it was just something I wasn't expecting.
  2. When I'm in the title input, if I hit "tab", it doesn't focus the textarea, but the toolbar. It would be a nice convenience to jump straight into the textarea when hitting tab from the title input.

The motion

  1. There's an unfinished tooltip [TO BE ADDED WHEN AVAILABLE].
    tooltip2
  2. I get a warning in the console when I click the IPFS refresh link after first publishing a decision. You might have seen this already but just in case:

warning

@willm30 Thanks for your comments.
In general we are close to delivering this feature, so unless we find something significant i would be inclined to deliver and put it into the hands of our users. I'm sure we will find minor things to tweak and improve on, which can be delivered later.

To reply:

  1. I spoke with @chinins - and this was the agreed implementation. This feature was not originally included in the product spec and since proposed its grown in complexity. We want to keep this feature simple so consequently, I dont think we care gonna cover all scenarios,, at least in the first version. Perhaps this extra functionality will be requested by users and then implemented.

2 & 3. They are quite minor. I can create issues to fix in the future, but i dont think it should hold up delivery of this feature.

4 & 5. These issue currently exist in Master.

Copy link
Collaborator

@willm30 willm30 left a comment

Choose a reason for hiding this comment

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

In which case, all good from me 🙂

chinins and others added 26 commits October 19, 2022 17:03
@danbr danbr force-pushed the feature/simple-decisions branch from f0d4ca7 to feecc43 Compare October 19, 2022 10:06
@danbr danbr merged commit a683919 into master Oct 19, 2022
@danbr danbr deleted the feature/simple-decisions branch October 19, 2022 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants