Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Hidelist hotfix#438

Merged
micahalcorn merged 4 commits into
stablefrom
hidelist-fix
Aug 27, 2018
Merged

Hidelist hotfix#438
micahalcorn merged 4 commits into
stablefrom
hidelist-fix

Conversation

@tyleryasaka

Copy link
Copy Markdown
Contributor

First pull request? Read our guide to contributing

Checklist:

  • Test your work and double-check to confirm that you didn't break anything
  • Wrap any new text/strings for translation
  • Map any new environment variables with a default value in the Webpack config
  • Update any relevant READMEs and docs

Description:

Hotfix which re-adds commits from #231 which were inadvertently removed. Allows us to hide listings by index rather than address, which allows us to paginate properly with the removed items, with no awkward whitespace on any pages.

I have already updated the hide_list branch to hide the latest blocked listings by index. So whenever this is merged/deployed the blocked listings will not reappear.

wanderingstan and others added 3 commits August 27, 2018 13:02
#222 was a good attempt, but now that we have pages full of kettle bell listings, this hidelist approach results in pages full of empty or single listings.

Per:
>The only awkwardness of this implementation is that on a page with flagged listings, the grid won't be completely filled up. For example:

So until we convert fully to address-based ids on listings, we stick with the old hidelist technicque of using Listing Indexes. (aka listingId)
@tyleryasaka

Copy link
Copy Markdown
Contributor Author

In a separate PR I'll integrate these changes into master for future releases.

@micahalcorn micahalcorn merged commit b9c69cb into stable Aug 27, 2018
@micahalcorn micahalcorn deleted the hidelist-fix branch August 27, 2018 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants