Commit Graph

30 Commits (1479f79667f2cdb9a7602c3a52c477bce3b8cdfc)

Author SHA1 Message Date
voussoir da8a6f0505
Use flex instead of grid to overcome 1,000 row browser limit.
Chrome stops adding grid rows after 1,000 and just piles them all
up on the bottom.
2021-11-08 02:01:01 -08:00
voussoir 6068d644b9
Add autorefresh to Channel to include/exclude in refresh_all loop. 2021-09-05 01:26:34 -07:00
voussoir 742034d287
Replace margin with grid-row-gap. 2021-06-04 20:48:51 -07:00
voussoir 67619c506e
Replace #000 with black. 2021-06-04 20:47:54 -07:00
voussoir a697fabfff
Give class channel_card to both pending and not. 2021-06-04 20:44:57 -07:00
voussoir c74b9523e4
Don't sort channels from get_channels, use get_things. 2021-06-04 20:35:17 -07:00
voussoir 37df5a6443 Remove spacer <p>s and embrace the grid-gap. 2020-09-05 09:31:37 -07:00
voussoir 98fae96a8a Add spinner.BAIL for cancelling spinner without launching callback. 2020-09-04 11:24:08 -07:00
voussoir 4af4985ac5 Add return to all onclicks, and ; to other javascript hooks. 2020-09-04 10:37:49 -07:00
voussoir b8c25f217d Synchronize Etiquette common.css and YCDL common.css. 2020-09-03 11:52:51 -07:00
voussoir 8dd7fb987d Add placeholder text to new_channel_textbox. 2020-09-03 11:44:49 -07:00
voussoir 412d324352 Remove unused parameter event. 2020-08-20 15:09:37 -07:00
voussoir e083223cfc Add button_with_spinner class to add channel button. 2020-08-20 15:09:23 -07:00
voussoir 3044907264 Use dot notation instead of subscript on response. 2020-06-28 16:57:32 -07:00
voussoir f1e80dac94 Add spinners to channel refresh buttons. 2020-06-17 14:15:50 -07:00
voussoir dd59fd2c36 Import common.js before api.js. 2020-06-17 14:13:33 -07:00
voussoir ba1f17da75 Move function add_channel to api.js. 2020-06-03 13:00:44 -07:00
voussoir 1f2c43278a Move function refresh_all_channels to api.js. 2020-06-03 13:00:16 -07:00
voussoir 415acdf7d1 Add api.js. 2020-06-03 12:54:20 -07:00
voussoir d0a0a87b43 Add function common.refresh. 2020-06-03 12:28:09 -07:00
voussoir 3e27e6e2e8 Add separate API endpoint for add_channel, apply to web ui.
Previously, the "add channel" box was just calling refresh, which
implicitly adds the channel. This adds a separate endpoint for
add_channel, and as a bonus the web ui will navigate you to the
channel after it has been loaded.
2020-05-21 22:16:02 -07:00
voussoir 13a72ec7fc Move CSS and JS into separate folders under static. 2020-05-21 19:43:45 -07:00
voussoir 0c5823cbeb Indicate automark state on /channels listing. 2020-05-21 17:26:12 -07:00
voussoir af494e2684 Rename CSS class channel_card_downloaded -> channel_card_no_pending. 2020-05-21 17:22:07 -07:00
voussoir 2f5ec40b89 Big: Object-oriented channels & videos, match Etiquette structure.
- Channels and videos are now objects instead of just dictionaries.
- Copied Etiquette's use of cachemanager mixin to cache those objects.
- Copied Etiquette's use of sql_ methods.
- Copied Etiquette's use of namespaced javascript.
- Copied Etiquette's use of config file.
- Redid video_card css to use grid, better on mobile.
- Improved usage of URL parameters with class=merge_class.
- Wrote some actual content on readme.
2020-04-05 18:59:16 -07:00
voussoir a29a637bcb Put the refresh buttons inside spans. 2020-01-06 21:56:45 -08:00
voussoir 2826e8972f Add link directly to channel's pending page. 2020-01-06 21:56:22 -08:00
voussoir 12c2b882f2 Add the meta viewport property. 2020-01-06 21:55:01 -08:00
voussoir c667ebd872 Batch requests & filterbox & update metadata
- Download / Ignore on multiple videos is batched into a single
  request, like it should have been all along.
- Text box at the top of the page lets you search for terms live
  instead of loading various ?q urls.
- Doing a force refresh will actually update the metadata of old
  videos instead of skipping them.
2019-01-23 21:22:09 -08:00
voussoir ba1961349c It's been a while 2017-10-08 21:39:07 -07:00