Skip to content
Snippets Groups Projects

(wip) Sort selector rework

Closed Max Nurzia requested to merge mnurzia/front:sort-selector-rework into master
3 unresolved threads

New sort-selector interface.

Desktop/Tablet: new ui

Mobile:

new ui mobile

Notably this is still missing some kind of distinction between the algorithms and custom types selectors, as well as the settings icon being in an awkward location, both of which I plan to address soon.

Merge request reports

Pipeline #70588059 failed

Pipeline failed for 59827089 on mnurzia:sort-selector-rework

Closed by Mark HardingMark Harding 5 years ago (Aug 2, 2019 5:06pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
7 7 > :last-child {
8 8 margin-left: auto;
9 9 }
10
10
11 11 .m-dropdown--list--item {
12 12 cursor: pointer;
13 &.m-sort-selector--custom-type-item,
  • 8 8 margin-left: auto;
    9 9 }
    10
    10
    11 11 .m-dropdown--list--item {
    12 12 cursor: pointer;
    13 &.m-sort-selector--custom-type-item,
    14 &.m-sort-selector--algorithm-item {
    15 width: auto;
    16 display: block;
    17 text-align: center;
    18 .m-sort-selector--item-label-icon {
    19 margin-right: 0px;
    20 margin-inline: 8px;
    21 }
    22 }
  • 61 83
    62 84 .m-sort-selector--algorithm-dropdown,
    63 85 .m-sort-selector--period-dropdown {
    64 .m-dropdown--list {
    86 .li {
  • Nice start @mnurzia ! Left some comments for you

  • Mark Harding added StatusRequires Changes label and removed 1 deleted label

    added StatusRequires Changes label and removed 1 deleted label

  • Mark Harding mentioned in merge request !318 (closed)

    mentioned in merge request !318 (closed)

  • Max Nurzia added 1 commit

    added 1 commit

    • 59827089 - Fix errors in sort-selector edit, tweak styles

    Compare with previous version

  • I fixed most of the things you pointed out. However, I couldn't find a way to resolve the issue with the parent selectors cleanly. I'm new to SCSS and there is probably an easier and better looking way of doing it, but I couldn't figure out a solution like you described. I figured that I would commit here and continue trying to fix that in the meantime, since the actual output is acceptable.

  • @markeharding What should I do next here?

  • Hey Max. Moved this over to !472 (closed) so it will be on our sandbox sites.

    Looks good from a code point of view! Let me know when you are free next week for a quick chat.

  • closed

  • Mark Harding mentioned in merge request !472 (closed)

    mentioned in merge request !472 (closed)

  • Please register or sign in to reply
    Loading