Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

@DantrazTrev
Copy link
Contributor

@DantrazTrev DantrazTrev commented Mar 24, 2021

Fixes element-hq/element-web/issues/16761 and element-hq/element-web/issues/16737

A scrollbar was implemented in the dialled section to fix the bug

image

For element-hq/element-web/issues/16761 a basic color change was done as stated in the second option in the issue

image

Signed-off-by : Ayush Pratap Singh ayushpratap16@gmail.com

text-align: center;
vertical-align: middle;
line-height: 40px;
color: #15191e;
Copy link
Contributor

@SimonBrandner SimonBrandner Mar 24, 2021

Choose a reason for hiding this comment

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

There might be a suitable colour for this in one of the theme files (e.g. _dark.scss). Could you please take a look if there is one?

Copy link
Contributor Author

@DantrazTrev DantrazTrev Mar 24, 2021

Choose a reason for hiding this comment

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

There are a few i could find but they're not properly labelled .

Also they light theme doesn't have these issues so it might get a bit messy , I think I could just update the $theme-button-bg-color in _dark.css . But that is very likely to effect some menu backgrounds

So it becomes consistent with light theme. Something like this:
image

So it becomes consistent(Like orignal Light theme)
image

Copy link
Contributor

Choose a reason for hiding this comment

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

Changing the value of $theme-button-bg-color isn't a good idea. The consistency would be great. If there really isn't anything suitable, you could perhaps add a new colour (both to _light.scss and _dark.scss)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just added $dialpad-button-bg-color to all the themes(it wasn't compiling without all of them) for the case. I hope this would be alright

@turt2live turt2live requested review from a team March 24, 2021 13:33
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

code looks fine, though a designer will have to take a look to confirm the sizing and such.

Copy link

@gaelledel gaelledel left a comment

Choose a reason for hiding this comment

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

Awesome! Could we follow these visual specs here for both Light and dark themes?
https://www.figma.com/file/xqclx5H9SHRh3T4K6S4rGo/Community?node-id=0%3A1

The scroll bar implementation should be removed. Instead I suggest a different interaction mechanism similar to Skype
Screenshot 2021-04-23 at 14 43 21
Essentially, the first number inside the row would be rolling towards the left everytime a new character is entered.
Users can then interact with the numbers row using the arrow keys, delete, space bar etc...
You can test out how it works on Skype to have a clearer picture of what I am referring to.

@DantrazTrev
Copy link
Contributor Author

DantrazTrev commented May 2, 2021

@gaelledel
I think the user interactions might be used in a dial pad used for calling (Which is somewhere in Matrix but not directly accessible in Element ). But not for a dialer in a call that is used for PSTN stuff mostly. ( That's the way Skype and regular dialers did it too) .

Added the color schemes and the RTL rolling digits and dropped the scrollbar
ezgif com-gif-maker (2)

@jryans jryans requested a review from gaelledel May 5, 2021 16:32
@dbkr
Copy link
Member

dbkr commented Jun 23, 2021

@dbkr
Copy link
Member

dbkr commented Jun 23, 2021

This now has the necessary approvals, so merging. It predates the github action check, so I'm going to assume it's fine without this.

1 similar comment
@dbkr
Copy link
Member

dbkr commented Jun 23, 2021

This now has the necessary approvals, so merging. It predates the github action check, so I'm going to assume it's fine without this.

@dbkr dbkr merged commit f0ad70f into matrix-org:develop Jun 23, 2021
anoadragon453 added a commit that referenced this pull request Jul 30, 2021
The field had RTL direction set on it, which meant symbols, like *, appeared at the beginning of the field instead of the end. RTL was introduced in #5786, however its removal seems to have had no adverse affects from testing.
anoadragon453 added a commit that referenced this pull request Aug 2, 2021
The field had RTL direction set on it, which meant symbols, like *, appeared at the beginning of the field instead of the end. RTL was introduced in #5786, however its removal seems to have had no adverse affects from testing.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

5 participants