Commit graph

1967 commits

Author SHA1 Message Date
infinite-persistence
dee01c724d
Comment badge to reflect mod and admin status.
## Issue
6467 Add status indicators for messages from creator, delegated moderator, global moderator

## Changes
- Added the required icons.
- Added tooltip.

## Notes
- I left out "creator" since we are already highlighting the creator's name.
- Note that currently the status is only available via websocket deltas. `comment.List` does not provide the data.
- When `comment.List` includes the info, regular comments will include the badges as well.
2021-08-09 14:05:31 +08:00
infinite-persistence
9d4e512bef
Fallback image for <FileThumbnail>
## Ticket
5457 Create file thumbnail fallback image for odysee

## Approach
Since `background-image` does not invoke an `onerror` event, use the stacking attribute of `background-image` to display the fallback.
2021-08-09 14:05:30 +08:00
infinite-persistence
2cd691d0f9
Re-render on language change
Room for improvement: refactor into `<SettingsCard>` so we don't have to repeat this everywhere.
2021-08-09 13:53:00 +08:00
infinite-persistence
36f2b149d5
Change style for card title
I think it looks better to not place the title within the card's border when there are multiple cards in a page, like in the case of the new Settings Layout. Otherwise, it's hard to differentiate between title and settings-row.

The proper method is to style Card itself, but this is a quick fix for the Settings Page PR. Will come back to it later.
2021-08-09 13:41:38 +08:00
infinite-persistence
e9034a03c2
Setings Page Side Navigation
Utilizing previous work in d8787cb4 for anchor navigation, navigate to the specific card in the settings page when clicked.

I like this model mainly because in Mobile, users don't need to keep opening the drawer to navigate -- they just need to scroll. This allows us to use the same design for Mobile and App.

# Conflicts:
#	ui/page/settings/view.jsx
2021-08-09 13:41:34 +08:00
infinite-persistence
63b1f5db26
Handle unauthenticated case, i.e. only allow basic settings.
Placed settings that we allow for unauthenticated users under <SettingUnauthenticated>. While it is redundant, it's easier to handle the grouping, and more readable overall.
2021-08-09 11:56:56 +08:00
infinite-persistence
2dc9114805
Delete "Settings Advanced" page
All items have been ported over
2021-08-09 11:56:56 +08:00
infinite-persistence
f4dff7e15c
[System] grab "Share usage and diagnostic data" 2021-08-09 11:56:55 +08:00
infinite-persistence
113825bc84
[System] grab "Download Directory" 2021-08-09 11:56:54 +08:00
infinite-persistence
21ceb9470d
[System] grab "Wallet Security". [Appearance] grab "Show wallet balance in header"
I think it makes more sense to show "Show wallet balance in header" under [Appearance], especially for Web.
2021-08-09 11:56:54 +08:00
infinite-persistence
10aded28c9
[System] grab "ffmpeg" 2021-08-09 11:56:53 +08:00
infinite-persistence
917dec8508
[System] grab "Experimental settings" 2021-08-09 11:56:53 +08:00
infinite-persistence
7c0cb55b2b
[Content] grab "Skip publish preview" 2021-08-09 11:56:52 +08:00
infinite-persistence
e2f59e04f5
[Content] grab "Purchase and tip confirmations" 2021-08-09 11:56:52 +08:00
infinite-persistence
7d34233e54
[System] grab Network & Data Settings 2021-08-09 11:56:51 +08:00
infinite-persistence
a40257f551
[Content] grab Notifications, Block/Muted, Creator Settings 2021-08-09 11:56:51 +08:00
infinite-persistence
74dcf6aafc
[Account] grab stripe-related settings 2021-08-09 11:56:50 +08:00
infinite-persistence
e973e0bc54
[Content] refactor and grab Max Purchase Price 2021-08-09 11:56:50 +08:00
infinite-persistence
40b92b7ddf
[Content] grab original "Content Settings" 2021-08-09 11:56:49 +08:00
infinite-persistence
104fd03374
Move combobox to right | Move "Search only in language" into separate row 2021-08-09 11:56:49 +08:00
infinite-persistence
7eb98596ae
[Appearance] grab 24h clock setting 2021-08-09 11:56:48 +08:00
infinite-persistence
e2bf790973
[Appearance] factor out ThemeSelector and use it here 2021-08-09 11:56:48 +08:00
infinite-persistence
e38ba9cfcf
[Appearance] grab language and homepage
Also applied new Settings Page styling.
2021-08-09 11:56:47 +08:00
infinite-persistence
790bddf4ae
[System] grab Clear Cache, Startup and Closing Behavior 2021-08-09 11:56:47 +08:00
infinite-persistence
39fa695b23
[Account] grab SyncToggle and AccountPassword
Also made visual changes for the new Settings Page.

## SyncToggle:
It will no longer be under a dedicated Card, so the "Sync" title is not there to give context for the case of "no verified email".

Changed it such that the checkbox is always visible (it's label is self-explanatory) but disable when email is not set. The "Add Email" button will then appear below, so everything now makes sense in context.
2021-08-09 11:56:46 +08:00
infinite-persistence
4cac3b286d
Styles for new Settings Page 2021-08-09 11:56:45 +08:00
saltrafael
7921c0971e Improve style 2021-08-06 15:07:10 -04:00
saltrafael
c55978f9d6 Allow to delete downloaded content from popup 2021-08-06 15:07:10 -04:00
saltrafael
4f0c6030e1 Add back file download link 2021-08-06 15:07:10 -04:00
Franco Montenegro
6b071bab21 Fix amountNeededForTakeover message for bids. 2021-08-06 14:16:38 -04:00
zeppi
4bcd5942af oops 2021-08-06 12:27:37 -04:00
zeppi
2a19f9f63c lrytv sunset nag 2021-08-06 12:27:37 -04:00
saltrafael
60f4cca007 Fix no expand button bug 2021-08-04 09:33:42 -04:00
zeppi
fe35ea3764 stream type string or array 2021-08-03 14:49:59 -04:00
zeppi
67bcc1b1ec build 2021-08-03 14:49:59 -04:00
zeppi
ff5ca7398c naming 2021-08-03 13:38:17 -04:00
zeppi
e3e5c50a13 style logo in embed 2021-08-03 13:38:17 -04:00
saltrafael
426042feab Fix icon color 2021-08-03 13:23:31 -04:00
saltrafael
a6ad758c71 Show on content page if a file is part of a playlist already 2021-08-03 13:23:31 -04:00
zeppi
2d66b8666d styling 2021-08-03 11:05:32 -04:00
saltrafael
f01fb7dd22 Mobile view: Make comments expandable 2021-08-03 11:05:32 -04:00
infinite-persistence
1d6101ddd2 Report recsys info when 'share_data_usage' is enabled.
Previous:
~~Although it was collecting info for all platforms, the data is only sent for Odysee.~~ Correction: it became enabled for all platform after `master` became Odysee.

New:
Only send out the telemetry for `IS_WEB` or if there's user consent.
2021-08-03 09:34:36 -04:00
infinite-persistence
34368760de Fill in remaining Recsys fields
## Issue
6366 Recsys Evaluation Telemetry

The recommended list from lighthouse is obtained from `makeSelectRecommendedContentForUri`. This list is further tweaked by the GUI (e.g. move autoplay next item to top, remove blocked content, etc.). Recsys wants the final recommendation list and the clicked index (in exact order), so we need pass these info to the videojs recsys plugin somehow. Also, Recsys wants a recommendation list ID as well as the parent (referrer) ID, we so need to track the clicks and navigation.

## General Approach
- It seems easiest to just spew back the final (displayed) list and all the required info to Redux, and the recsys plugin (or anyone else in the future) can grab it.
- Try to touch few files as possible. The dirty work should all reside in `<RecommendedContent>` only.

## Changes
- `ClaimPreview`: add optional parameters to store an ID of the container that it is in (for this case, it is `ClaimList`) as well as the index within the container.
  - When clicked, we store the container ID in the navigation history `state` object.
    - For general cases, anyone can check this state from  `history.location.state` to know which container referred/navigated to the current page. For the recsys use case, we can use this as the `parentUUID`.
- `ClaimList`: just relay `onClick` and set IDs.
- `RecommendedContent`: now handles the uuid generation (for both parent and child) and stores the data in Redux.
2021-08-03 09:34:36 -04:00
infinite-persistence
74659f40a1
Restore "Use better icon for "Copy Link"" -- lost in a merge.
b164a5d1 accidentally nulled the changed.

While at it, moved the "Copy RSS" button below "Copy Link" -- I think that looks better.
2021-08-03 14:24:02 +08:00
zeppi
26b1c901c8 no limit on stream types for following 2021-08-02 16:14:33 -04:00
btzr-io
c0c65c46f4 use env for twitter account 2021-08-01 09:39:16 -04:00
btzr-io
d462f96834 improve twitter share 2021-08-01 09:39:16 -04:00
Baltazar Gomez
37d9cbfbeb limit claim_search results on livestreamLink 2021-08-01 09:13:25 -04:00
btzr-io
9983777f86 faster claim search on livestreamLink 2021-08-01 09:13:25 -04:00
btzr-io
7802337655 prevent livestream api calls if no livestream claim exists: #6632 2021-08-01 09:13:25 -04:00