Gabe Kangas
e50b23d081
Cleanup unused Javascript ( #3027 )
...
* chore(js): be stricter about dead code warnings
* chore(js): remove dead code and unused exports
* rebase
* chore: remove unused files
* chore(deps): remove unused prop-types dep
* chore(js): remove unused function
* chore(deps): remove + check unused deps
* chore(js): remove unused exports. Closes #3036
2 years ago
Gabe Kangas
acab4e5c85
fix(ui): hard code the colors of the chat moderation menu button
2 years ago
gingervitis
44483a45d3
some webv2 UI polish ( #2940 )
...
* style tweaks for Action Button, UserMenu, Modal
* a bunch of misc polish; some around chat
* Prettified Code!
* cleanup
* fix formatting
* Reduce content padding a bit
* some stylesheet cleanup
* fix action button sizing
* Remove action button height completely
---------
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
d346485f94
Revert "FIX : Chat: words containing one or more dots are turned into links #2898 ( #2903 )"
...
This reverts commit 11a3a79032
.
2 years ago
Dev Gupta
11a3a79032
FIX : Chat: words containing one or more dots are turned into links #2898 ( #2903 )
...
* FIX: Chat: words containing one or more dots are turned into links #2898
Making validateTLD to true and also adding a parameter of customTLDs
* Update ChatUserMessage.tsx
* Prettified Code!
---------
Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
2 years ago
Gabe Kangas
b7e4298e58
Use non-animated image in example so it does not show as changed
2 years ago
Gabe Kangas
57d8bdbdbe
Use same message highlighting on system messages
2 years ago
Gabe Kangas
1ee71aecaa
Add bot user badge. Closes #2681
2 years ago
Gabe Kangas
e6d3da4f9c
Refactor how message content highlighting works + change to safe HTML rendering component. Closes #2669
2 years ago
Gabe Kangas
71bb8a7381
Redesign the user badges (authed, mods)
3 years ago
Gabe Kangas
7b4c3f38d5
Fix message background rendering on top of message. Closes #2636
3 years ago
Gabe Kangas
bbd3041d90
Add linking to user chat messages. Closes #2635
3 years ago
Gabe Kangas
7ba91404cc
Style moderation hover button
3 years ago
Gabe Kangas
49cdb1dafb
Fix chat message background color not showing. Closes #2594
3 years ago
Gabe Kangas
6fbd6cbbcf
Lazy load every instance of using ant icons. Closes #2583
3 years ago
Gabe Kangas
7ce35a8a08
Increase user message border width
3 years ago
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
3 years ago
Gabe Kangas
cfaeda94b0
Lazy load more components. #2167
3 years ago
Gabe Kangas
bd3c81c353
Replace he html decoding lib with entities
3 years ago
Gabe Kangas
e64da8003c
More component selectors for CSS overrides for #2193
3 years ago
Gabe Kangas
a75c838ef3
Populate user message tooltip. Closes #2343
3 years ago
Gabe Kangas
bc6af8251e
Add padding to chat messages
3 years ago
Gabe Kangas
813f8692f0
Support color customization from the admin ( #2338 )
...
* Add user-customizable theming. Closes #1915
* Prettified Code!
* Add user-customizable theming. Closes #1915
* Add explicit color for page content background
* Prettified Code!
Co-authored-by: gabek <gabek@users.noreply.github.com>
3 years ago
Gabe Kangas
2e7787f70b
Force the bundler to build the player as its own file
3 years ago
t1enne
f6e158ab88
reduced font weight of message text
3 years ago
Gabe Kangas
b1484f4c9f
Lazy load some components that aren't needed at load. For #2167
3 years ago
t1enne
91bc45dbef
moved borders to the right for own msgs. Closes #2074
3 years ago
t1enne
f90295269e
Updated styles to match design for chat msgs
3 years ago
t1enne
0b35919357
Fixed messages not wrapping + changed some styles to accomodate scrollbar better
3 years ago
James Young
d1f3fffe2f
reafctor: normalize component formatting ( #2082 )
...
* refactor: move/rename BanUserButton file
* refactor: move/rename Chart file
* refactor: update generic component filenames to PascalCase
* refactor: update config component filenames to PascalCase
* refactor: update AdminLayout component filename to PascalCase
* refactor: update/move VideoJS component
* chore(eslint): disable bad react/require-default-props rule
* refactor: normalize ActionButton component
* refactor: normalize ActionButtonRow component
* refactor: normalize FollowButton component
* refactor: normalize NotifyButton component
* refactor: normalize ChatActionMessage component
* refactor: normalize ChatContainer component
* refactor: normalize ChatJoinMessage component
* refactor: normalize ChatModerationActionMenu component
* refactor: normalize ChatModerationDetailsModal component
* refactor: normalize ChatModeratorNotification component
* refactor: normalize ChatSocialMessage component
* refactor: normalize ChatSystemMessage component
* refactor: normalize ChatTextField component
* refactor: normalize ChatUserBadge component
* refactor: normalize ChatUserMessage component
* refactor: normalize ContentHeader component
* refactor: normalize OwncastLogo component
* refactor: normalize UserDropdown component
* chore(eslint): modify react/function-component-definition rule
* refactor: normalize CodecSelector component
* refactor: update a bunch of functional components using eslint
* refactor: update a bunch of functional components using eslint, pt2
* refactor: update a bunch of functional components using eslint, pt3
* refactor: replace all component->component default imports with named imports
* refactor: replace all component-stories->component default imports with named imports
* refactor: remove default exports from most components
* chore(eslint): add eslint config files for the components and pages dirs
* fix: use-before-define error in ChatContainer
* Fix ChatContainer import
* Only process .tsx files in Next builds
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
3 years ago
Gabe Kangas
121c9415f1
Wire up emoji+custom emote selector to text input. Closes #1887
3 years ago
Gabe Kangas
b8a108ba03
Fix chat message story
3 years ago
Gabe Kangas
ac7e095fdf
Handle hide/show chat messages via moderation. Closes #1986
3 years ago
James Young
5ebbbb8bf2
refactor(stories): co-locate stories with components ( #2078 )
...
* refactor: move ActionButton component
* refactor: move BanUserButton component
* refactor: move ChatActionMessage component
* refactor: move ChatContainer component
* refactor: move AuthModal component
* refactor: move BrowserNotifyModal component
* refactor: move ChatUserMessage component
* refactor: move ChatJoinMessage component
* refactor: move ChatTextField component
* refactor: move ChatUserBadge component
* refactor: move FollowerCollection and SingleFollower components
* fix: bad import path
* refactor: move FollowModal component
* refactor: move Modal component
* refactor: move ContentHeader component
* refactor: move ChatSystemMessage component
* refactor: move Header component
* refactor: move Footer component
* refactor: move StatusBar component
* refactor: move OfflineBanner component
* refactor: move OwncastPlayer component
* refactor: move IndieAuthModal component
* refactor: move SocialLinks component
* refactor: move VideoPoster component
* refactor: move FollowModal component
* refactor: move FediAuthModal.tsx component
* refactor: move UserDropdown component
* refactor: move ChatSocialMessage component
* refactor: move Logo component
* refactor: move NotifyReminderPopup component
* refactor: move NameChangeModal component
* refactor: move FatalErrorStateModal component
* refactor: move ChatModeratorNotification component
* refactor: move ChatModerationActionMenu and ChatModerationDetailsModal components
* refactor: move CustomPageContent component
* refactor: move storybook Introduction file
* refactor: update storybook story import path
* refactor: move storybook preview styles
* refactor: move storybook doc pages
* refactor: move Color and ImageAsset components
* fix: bad import path
* fix: bad import path in story file
3 years ago
Gabe Kangas
46166a78d9
Set message content as renderable html
3 years ago
Gabe Kangas
6d7f0302bf
Replace the auth chat message badge with an icon
3 years ago
Gabe Kangas
aa0b43074f
Fix chat user color variable
3 years ago
gingervitis
d5fa81f76e
Draft: rough-ish draft of proposed color theme changes ( #2067 )
...
* color experimentation and troubleshooting
* create color scheme, assign colors, more ant overrides
* fun selection color
* Prettified Code!
* Correctly import opensans
* Prettified Code!
* Organize+standardize colors/names and update the app to use them
* Prettified Code!
* Use css var references instead of resolving value of vars in css files
* Prettified Code!
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
3 years ago
Gabe Kangas
1a9b9f53fc
Add remote fediverse follow modal. Closes #1862
3 years ago
Gabe Kangas
cd81aa56ed
Tighten up collapsed message spacing
3 years ago
Gabe Kangas
9e18cf2f0c
Fix incorrect font variable being used
3 years ago
Gabe Kangas
6cc184ea6f
Add standalone join message with user badge
3 years ago
Gabe Kangas
3cfcad7a93
Add user chat message badges. Closes #1988
3 years ago
Gabe Kangas
4da64a6b35
Use actual moderation menu and remove the placeholder
3 years ago
Gabe Kangas
a7bbb06ea5
Fix mod menu showing. Closes #1990
3 years ago
Gabe Kangas
255585cd9f
Update components to use the new style/color names
3 years ago
t1enne
f130abb8f9
Minor styling changes
3 years ago
t1enne
b279f8f707
small fixes on chat behaviour
3 years ago
t1enne
26f9a41508
Few changes to chat
...
Added moderator icon
changed styling for a name change message
Now usernames collapse as long as the user is the same
Imported two weights of Poppins and the OpenSans variable instead of def
400
This is some progress on #1859 and #1625
3 years ago
t1enne
e6cc3a39d1
Added moderator menu to messages and some other styling.
...
created new ant overrides file.
Ignore the static directory
3 years ago