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

✨ Text app design review #1075

Closed
30 of 39 tasks
jancborchardt opened this issue Oct 6, 2020 · 5 comments · Fixed by #1962, #1960, #1966, #1973 or #2002
Closed
30 of 39 tasks

✨ Text app design review #1075

jancborchardt opened this issue Oct 6, 2020 · 5 comments · Fixed by #1962, #1960, #1966, #1973 or #2002
Assignees
Labels
1. to develop design Experience, interaction, interface, … enhancement New feature or request

Comments

@jancborchardt
Copy link
Member

jancborchardt commented Oct 6, 2020

Thanks everyone for attending! @nickvergessen @ma12-co @juliushaertl @PVince81 @rullzer @skjnldsv @jancborchardt

Also cc @azul @mejo-

Overall

  • Saving feedback: Text saying "Saved" or "Saving …"
  • When zooming with sidebar open, the Files app / background shows (on zooming in), or the Text app overlaps the sidebar (on zooming out)
  • Header white and title/action icons not fade out → Pull request in progress in the Viewer component

Errors

Moved to #2240

Formatting bar

  • Slight whitespace between "sections", 22px (half clickable space):
    • Undo/redo
    • Bold/Italic/Strikethrough/Headings
    • the 3 list types
    • quote, code, image
  • Increase height of formatting bar to 50px, size of avatars to 44 (might fix the status bubble display issue too) fix issues on formatting bar #1960
  • A little transparency and blur for more open feel fix issues on formatting bar #1960
  • Undo and redo buttons should be shown at full opacity when there is something to undo/redo respectively
  • Better feedback on what is the currently active formatting, except just full opacity cause it’s not so easy to see (possibly little circle below, or border around)

Floating marking bar

To be clarified in #2211 (comment)

Content

Sharing

  • Status icon is too small
  • Other menu icons are too big
  • Can’t go into the user menu of people in the 3-dot menu
  • If you open one person’s menu, the 3-dot-menu also opens

Link share

Sidebar

Author colors

  • Always show all participants in dropdown (including yourself so you know your own color)
  • Change tooltip to just say "Participants"
  • Change name from "color annotations" to "author colors" (also in description text)
  • Settings icon / 3-dot icon could always be icon-group for participants
  • Color circles around person are darker than actual color – should also use the 10% opacity value
  • Padding-top and -bottom for the highlight background color so there’s no white lines inbetween rows of text
@jancborchardt jancborchardt added enhancement New feature or request design Experience, interaction, interface, … 1. to develop labels Oct 6, 2020
@jancborchardt jancborchardt added this to the Nextcloud 21 milestone Oct 6, 2020
@leobard
Copy link

leobard commented Jan 6, 2021

@jancborchardt if you do another one of these design ux reviews, can you invite me?

@rullzer rullzer removed this from the Nextcloud 21 milestone Mar 1, 2021
@jancborchardt
Copy link
Member Author

@jancborchardt if you do another one of these design ux reviews, can you invite me?

Absolutely, and sorry for the late reply! :) You can find more info on the Nextcloud design team at https://nextcloud.com/design/, there is also info on our weekly design review calls there.

@luka-nextcloud
Copy link
Contributor

luka-nextcloud commented Nov 26, 2021

@juliushaertl

If you mark a whole list and switch it to a task list, only the first item gets tasklist-ified

I think it's a tiptap editor issue. Because to add a task list, we call a function called todo_item() which is a function from tiptap.

@juliushaertl
Copy link
Member

I think it's a tiptap editor issue. Because to add a task list, we call a function called todo_item() which is a function from tiptap.

We have a custom implementation for the todo_item handling

text/src/nodes/ListItem.js

Lines 111 to 136 in 6889f73

const schema = state.schema
const selection = state.selection
const $from = selection.$from
const $to = selection.$to
const range = $from.blockRange($to)
let tr = state.tr
let parentList = getParentList(schema, selection)
if (typeof parentList === 'undefined') {
toggleList(schema.nodes.bullet_list, type)(state, (_transaction) => {
tr = _transaction
}, view)
parentList = getParentList(schema, tr.selection)
}
if (!range || typeof parentList === 'undefined') {
return false
}
tr.setNodeMarkup(parentList.pos, schema.nodes.list_item, { type: parentList.node.attrs.type === TYPES.CHECKBOX ? TYPES.BULLET : TYPES.CHECKBOX })
tr.scrollIntoView()
if (dispatch) {
dispatch(tr)
}

The problem might be especially this line where we only update the type at the cursor position:

tr.setNodeMarkup(parentList.pos, schema.nodes.list_item, { type: parentList.node.attrs.type === TYPES.CHECKBOX ? TYPES.BULLET : TYPES.CHECKBOX })

@juliushaertl
Copy link
Member

Closing as open points have been moved to separate tickets or are part of #2211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment