Commit graph

3024 commits

Author SHA1 Message Date
syeopite
f44a5b1a69
Minor CSS cleanup 2021-10-02 15:41:38 -07:00
syeopite
2a2f54289a
Fix styling for featured badges on category 2021-10-02 15:41:38 -07:00
syeopite
36019fa438
Add support channel home pages + gen. improvements
This commit adds support for channel home pages and all of the
categories within it. However, the frontend code is a mess and thus
needs to be refactor soon. Though that would likely require a rework of
items.ecr

This commit also comes with some general cleanups and improvements.

Before this commit channel brand URls would only be supported on the
videos page (now home page). It has been improved to be able to handle
all channel URLs.

The category_type and auxiliary_data property has also been removed from
the Category struct. The former was never used and the latter allows for
random data to be added to the Struct presenting documentation issues.

Since the auxiliary_data variable was mainly used to store values from
the browse_endpoint in order to create URLs, its much simpler to instead
just get the URL from the webCommandMetadata.

As a result of this change the browse_endpoint_data attribute of
Category has also been removed.
2021-10-02 15:41:34 -07:00
syeopite
22f6fe16c3
Add total views and description to playlist 2021-10-02 15:38:39 -07:00
syeopite
a70839b63f
Fix index err on chans w/o extern links 2021-10-02 15:38:39 -07:00
syeopite
e485bc2ef3
Add content sections to trending feed 2021-10-02 15:38:38 -07:00
syeopite
bbfbe70930
Move continuation_token out of Category struct 2021-10-02 15:38:19 -07:00
syeopite
0863d83574
Make feat. chan page URL to compatible with yt 2021-10-02 15:37:15 -07:00
syeopite
e93b7789f7
Remove FeaturedChannel objects[C 2021-10-02 15:35:22 -07:00
syeopite
a7a3f86af4
Add check for empty chan category in featured chan 2021-10-02 15:24:21 -07:00
syeopite
8aca0a1d50
Use responsive pure css grids in about.ecr 2021-10-02 15:24:21 -07:00
syeopite
4636f0af00
Add buffer btwn content and footer on some pages 2021-10-02 15:24:21 -07:00
syeopite
faac8e43b5
Adjust footer styling 2021-10-02 15:24:21 -07:00
syeopite
291193d4dc
Overhaul footer design. See #2032 2021-10-02 15:24:21 -07:00
syeopite
f849cad4e2
Move channel views to separate directory 2021-10-02 15:24:21 -07:00
syeopite
c08b4c9a32
Add support for featured channels page 2021-10-02 15:24:20 -07:00
syeopite
68090ddb84
Change AboutChannel tabs to hash of name and param
This is to help fetch tab contents from the browse endpoint of youtube
later on.
2021-10-02 15:23:42 -07:00
syeopite
791d54635a
Fix uncentered channel banner image 2021-10-02 15:23:42 -07:00
syeopite
dfbc6c5bc7
Add channel country and external links to API 2021-10-02 15:23:42 -07:00
syeopite
94386d4e0f
Fix locale consistency for About page 2021-10-02 15:23:42 -07:00
syeopite
5935106165
Fix pure-css-link focus color 2021-10-02 15:23:42 -07:00
syeopite
ee755a8e0a
Reduce space between extern link header and items 2021-10-02 15:23:42 -07:00
syeopite
5b31daae2f
Handle missing country detail in channel about page 2021-10-02 15:23:42 -07:00
syeopite
ab69c9ab35
Add links widget to channel banner + tiny refactor 2021-10-02 15:23:41 -07:00
syeopite
0d19937dac
Move channel specific CSS to separate file 2021-10-02 15:23:41 -07:00
syeopite
04cc15500f
Change channel banner to be CSS background image
This is to allow for contents to be placed on the channel banner itself;
something that is required for the links widget shown on Youtube.
2021-10-02 15:23:41 -07:00
syeopite
9c3a932217
Fetch external links favicon and add to about page 2021-10-02 15:23:41 -07:00
syeopite
e8015fc144
Add about tab to channels 2021-10-02 15:23:41 -07:00
syeopite
90bd19dc45
Add logic to parse external chan links and country 2021-10-02 15:23:41 -07:00
syeopite
425112629d
Fix improper URL formatting for channel sort 2021-10-02 15:23:41 -07:00
syeopite
c28e96bc7b
Improve styling for search filters 2021-10-02 15:23:41 -07:00
syeopite
45da8ba880
Fix typo 2021-10-02 15:23:41 -07:00
syeopite
b1890560e2
Add search icon to navbar searchbar 2021-10-02 15:23:41 -07:00
syeopite
40823d5816
Refactor channel tab templates 2021-10-02 15:23:41 -07:00
syeopite
c5799a7083
Move trending tabs to left like in channels 2021-10-02 15:23:41 -07:00
syeopite
6f5b9a5f92
Remove broken view as playlist feature in trending 2021-10-02 15:23:41 -07:00
syeopite
937f64ef6c
Disallow removing filters from sort by column 2021-10-02 15:23:41 -07:00
syeopite
752e58be48
Fix styling for filter remove icon 2021-10-02 15:23:40 -07:00
syeopite
e93d8bee22
Add search bar to channel page.
Closes #1923
2021-10-02 15:23:40 -07:00
syeopite
9e2438c7dc
Add ability to remove search filters from UI 2021-10-02 15:23:40 -07:00
syeopite
3a52a1cf4d
Fix search filters being overwritten by others 2021-10-02 15:23:40 -07:00
syeopite
52a00cfa29
Move search.ecr specific css to another file 2021-10-02 15:23:40 -07:00
syeopite
527fa42170
Declutter search bar to only show search query
This commit changes the way search filters are parsed. Instead of
directly appending the data into the search query and creating k:v
pairs, all of the search filters are now a URL parameter. This results
in a clear look overall and hides much of the logic from the end user.

Closes #1969
2021-10-02 15:23:39 -07:00
syeopite
ded0b31f71
Change dropdown into normal tabs 2021-10-02 15:23:03 -07:00
syeopite
5b81d429ea
Refactor channel sorting links to dropdown 2021-10-02 15:23:03 -07:00
syeopite
be6df4e855
Use purecss menus for channel tabs 2021-10-02 15:23:03 -07:00
syeopite
f9f35c3c5f
Update styling for buttons and dark-theme 2021-10-02 15:23:03 -07:00
syeopite
15263201ad
Use pure-menu-horizontal for trending tabs 2021-10-02 15:23:02 -07:00
syeopite
81b12b8001
Add support to make invidious API-only via flag (#2363) 2021-10-02 20:04:02 +00:00
syeopite
3e781b7d13
Merge pull request #2443 from iv-org/syeopite-patch-1
Use make_client when querying instance api
2021-10-02 20:00:37 +00:00