Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Quality Chooser to SFC #6737

Merged
merged 16 commits into from
Jun 2, 2019
Merged

Convert Quality Chooser to SFC #6737

merged 16 commits into from
Jun 2, 2019

Conversation

sharkykh
Copy link
Contributor

@sharkykh sharkykh commented May 28, 2019

It's mostly done... but don't merge yet.

  • Fixes for quality-chooser
    • Fix preset selector changing to a preset if the custom-selected qualities sum up to that preset.
    • Fix empty custom view when previous preset was keep.
    • Fix recalculating backlogged episodes after archiving.
    • Fix backlogged episodes text always showing in red.
    • Catch errors in async backlogged episodes computed prop.
    • Use reduce instead of filter+map (more efficient)
    • Remove unneeded map to integers on allowed/preferred watches
      (reason - .number modifer was missing on the v-models)
    • Clear the preferred selection when deselecting all allowed qualities
    • If changing to OR from keep, restore the original value
  • Move "initial quality" code to main.mako
  • Replace with getters and import api
  • Update backlog link to use AppLink
  • Get the default show quality from the store
  • Replace seriesSlug with showSlug prop
  • Simplify manage_massEdit
  • Sort out the template and inline styles
  • Fix show qualities key in API description
  • Add component to AddShowOptions
  • Add basic QualityChooser tests

@sharkykh sharkykh added Needs testing Requires testing to make sure it's working as intended Do not merge Changelog Requires a changelog entry Needs test (Vue) Needs tests added for this change (Vue) labels May 28, 2019
@sharkykh sharkykh added this to the 0.3.2 milestone May 28, 2019
@OmgImAlexis OmgImAlexis mentioned this pull request May 28, 2019
@sharkykh sharkykh added Frontend and removed Needs test (Vue) Needs tests added for this change (Vue) Changelog Requires a changelog entry labels May 28, 2019
@sharkykh

This comment has been minimized.

@p0psicles

This comment has been minimized.

@sharkykh

This comment has been minimized.

- Fix preset selector changing to a preset if the custom-selected qualities sum up to that preset.
- Fix empty custom view when previous preset was `keep`.
- Fix recalculating backlogged episodes after archiving.
- Fix backlogged episodes text always showing in red.
- Catch errors in async backlogged episodes computed prop.
- Use reduce instead of `filter`+`map` (more efficient)
- Remove unneeded map to integers on allowed/preferred watches
  (reason - `.number` modifer was missing on the `v-model`s)
- Clear the preferred selection when deselecting all allowed qualities
- If changing to **OR from** `keep`, restore the original value
@sharkykh sharkykh force-pushed the vueify/sfc-quality-chooser branch from f23714d to a2bca5b Compare June 2, 2019 09:14
@sharkykh sharkykh added Needs review Concluded and removed Do not merge On hold Needs testing Requires testing to make sure it's working as intended labels Jun 2, 2019
@pymedusa pymedusa deleted a comment Jun 2, 2019
@pymedusa pymedusa deleted a comment Jun 2, 2019
@pymedusa pymedusa deleted a comment Jun 2, 2019
@medariox medariox merged commit b371535 into develop Jun 2, 2019
@medariox medariox deleted the vueify/sfc-quality-chooser branch June 2, 2019 19:53
Thilas pushed a commit to Thilas/Medusa that referenced this pull request Jun 5, 2019
* Fixes for `quality-chooser`

- Fix preset selector changing to a preset if the custom-selected qualities sum up to that preset.
- Fix empty custom view when previous preset was `keep`.
- Fix recalculating backlogged episodes after archiving.
- Fix backlogged episodes text always showing in red.
- Catch errors in async backlogged episodes computed prop.
- Use reduce instead of `filter`+`map` (more efficient)
- Remove unneeded map to integers on allowed/preferred watches
  (reason - `.number` modifer was missing on the `v-model`s)

* Rename to SFC and register, comment out Python code

* Move "initial quality" code to `main.mako`

* Simple linting

* Update backlog link

* Replace with getters and import `api`

* Add component to AddShowOptions

* Add basic QualityChooser tests

* Fix bugs

- Clear the preferred selection when deselecting all allowed qualities
- If changing to **OR from** `keep`, restore the original value

* Get the default show quality from the store

* Replace `seriesSlug` with `showSlug` prop

* Fix show qualities key in API description

* Simplify `manage_massEdit`

* Sort out the template and inline styles

* Update CHANGELOG.md

* [Bundle]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants