Commit Graph

58 Commits (f7581cf4ebee13edb51e6372e9903c5e8745d0e9)

Author SHA1 Message Date
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago
Audric Ackermann 8ff53a434a
refactor quote styles 4 years ago
Audric Ackermann b1e29cc89f
refactor scss 4 years ago
Audric Ackermann 291982c2aa
cleanup css and themify missing stuff 4 years ago
Maxim Shishmarev 687e9db77b Custom message rendering of mentions 5 years ago
Maxim Shishmarev 1496a368e9 Add UI elements for searching and selecting members in a group chat 5 years ago
Mikunj 8808100796 Merge signal-1.24.0
# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	background.html
#	config/default.json
#	config/production.json
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_view.js
#	js/views/inbox_view.js
#	js/views/settings_view.js
#	main.js
#	package.json
#	test/index.html
#	ts/components/conversation/ContactName.tsx
#	yarn.lock
5 years ago
Mikunj e343a04eea Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
# Conflicts:
#	app/sql.js
#	background.html
#	config/default.json
#	js/background.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/modules/data.js
#	js/signal_protocol_store.js
#	js/views/conversation_search_view.js
#	libtextsecure/message_receiver.js
#	libtextsecure/sendmessage.js
#	main.js
#	package.json
#	preload.js
#	test/index.html
#	ts/components/Avatar.tsx
#	ts/components/conversation/ConversationHeader.md
#	ts/components/conversation/ConversationHeader.tsx
5 years ago
Scott Nonnenberg a450cdf528 Lint fixes for recent PRs 5 years ago
Opportunity b2bdb73ce5 Add font fallback candidates for CJK characters (#2698) 5 years ago
Scott Nonnenberg 1d2c3ae23c Download attachments in separate queue from message processing 5 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Mikunj cea78d1f98 Updated styling.
Reworded descriptions and titles.
6 years ago
Mikunj 8c78a78b41 Converted to dark theme. 6 years ago
Mikunj 341c5e4ed8 Updated nickname display modal. 6 years ago
Mikunj 1cb09cad2a Add header options. 6 years ago
Mikunj c32bd3564d Fix minor UI layout. 6 years ago
Mikunj 3eb193cca2 Added accordian 6 years ago
Mikunj d1d906cfc0 Updated conversation textarea styling. 6 years ago
Mikunj a530a6c197 Convert gutter to dark theme. 6 years ago
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 6 years ago
Scott Nonnenberg cf16ced91c Unread badge is now attached to avatar in left pane 6 years ago
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 6 years ago
Scott Nonnenberg fedfbed304 Copy quoted message contents into quote on receipt
Also:
  - visually distinguish any reference we couldn't verify on receipt
  - show toast on quote click if we can't scroll to message
  - toast visuals redesigned to match rest of app
6 years ago
Scott Nonnenberg a247ffe5cf When iOS device has been linked, use iOS color scheme 6 years ago
Scott Nonnenberg 1d18c5686d Fix problems with transparency on some macOS computers 6 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
6 years ago
Scott Nonnenberg 41be7f126b Visuals for embedded contacts as well as contact detail screen 6 years ago
Daniel Gasienica 557693e14c Prettier: Format all stylesheets 6 years ago
Daniel Gasienica 4a5a2cb5c1 Replace Backbone with React lightbox 6 years ago
Scott Nonnenberg f255cbcbe3
Move to white background for ios replies, hairline bottom border 6 years ago
Scott Nonnenberg 21bf02c94d
Fixed examples in Quote.md, rough Android visuals 6 years ago
lilia 859d49b3f4
Use relative paths
// FREEBIE
7 years ago
Lilia 5d8e8459b3 Fix bouncy bubble widths (#1447)
Max-width on a message bubble should be about 30em for the good readability.
However, when the window isn't wide enough, bubbles must be further limited.

The transition should happen around the point that these two rules intersect,
but it was kicking in a little late, which caused the bubbles to jump from wider
to shorter as you widened the window past a certain point. This change adjusts
the threshold for smoother and more consistent bubble resizing.

The variable name $big-avatar-min-width is an artifact of a past design and was
previously used in multiple places, but it no longer makes sense in this context
so it has been discarded.

// FREEBIE
7 years ago
alecglassford ef4b4da2a3 Make search clear button ("x") persist w/o hover
This makes the "x" in the search bar always visible when there is
text in the search box, even if the mouse is not hovering, hopefully
making for a clearer UI around search and resolving issue #741

The implementation adds the "x.svg" as a background image to the search
box when it is classed with .active, in addition to the
-webkit-search-cancel-button, which is still there for the actual
functionality but only appears on mouse hover (one tiny snag is that
coloring appears slightly different on hover, at least on my screen -
don't know if this is a problem).

I accounted for both ltr and rtl text-direction by using
getComputedStyle(...).direction to detect from the input's dir="auto"
- if there's a more elegant way to do this, please suggest. An ideal
solution would use the :dir pseudo-class but it's not implemented
in Chrome yet - https://developer.mozilla.org/en-US/docs/Web/CSS/:dir

For now, I added the direction-checking to inbox_view.js. I see that
input.search is also used in new_group_update_view.js and
recipient_input_view.js but neither of these views seem to be in use (?)
and they don't set the .active class anyway, so I ignored them.

Update: Amended version a few hours later - fixed and manually tested
color and spacing for iOS and Android Dark themes. Also made some new
SASS variables to make things DRYer and fixed my tab size.
7 years ago
lilia 09b582bb2b Darken material colors in dark theme
Dark theme uses material colors with value 700 from
https://material.google.com/style/color.html
8 years ago
lilia 7b9894d688 Refactor css to support theming
Move away from inline style attributes for setting contact colors.
Apply colors by name via css classes instead. Also lays groundwork
for syncing contact colors.

// FREEBIE
8 years ago
lilia 41e4154d60 Make font sizes relative
So it's easier to adjust them globally.

// FREEBIE
8 years ago
lilia 4f46a164ba Add voice notes
// FREEBIE
8 years ago
lilia b6f785737c Restyle error icons, move them outside the bubble 8 years ago
lilia fe62d86d37 Move mixins to a separate file
// FREEBIE
8 years ago
lilia 4bd266521a Apply button hover effect on focus as well
// FREEBIE
8 years ago
lilia b5a399dc55 Fix up contact list height off by 4px
Add some variables so we can actually compute this height instead of
hard coding it.

// FREEBIE
8 years ago
lilia 6be7b765b2 Harmonize border radii
// FREEBIE
8 years ago
lilia d4174b94f1 Tweak button sizes and menu style
Restore previous icon size to header buttons, add padding to accomodate
positioning.

Remove blue border from menus.

// FREEBIE
8 years ago
lilia d8d34e7afc Icon upgrade
Also remove unused images.

// FREEBIE
8 years ago
lilia 234f937bc7 Conversation subscreens share a header
// FREEBIE
8 years ago
Sam Lanning 0569d4c889 Replace conversation panel js resizing with flex styling.
// FREEBIE
9 years ago
Sam Lanning d091c6ddda Added more gray color variables (to compensate for inconsistent compiling)
// FREEBIE
9 years ago
lilia 2fc78ddd7d Fix scroll position jumping when images load
Messages with images or media were causing the scroll position to jump
around when they loaded, because rendering them changed the height of their
elements from 0 to full-height sometime after they were inserted into
the DOM.

Now when rendering attachments, we wait for them to load so they can
render at full height immediately, then warn our parent message list
before and after a potential height change, so the scroll position can
be saved and reset.

// FREEBIE
9 years ago