Added set of new features#16
Open
Nyliar wants to merge 26 commits intoTaum:masterfrom
Open
Conversation
… 1 per selection)
… is visually happening on click
…ow for manual input for option filtering)
- Added i18n package - Added fr/en translations resource files - Added button for language switch + save to cookies - Updated all UI to use resources rather than hardcoded text Remains: - Find a way to apply localization to trigger/condition/effect (might need crawler update)
Added new crawler, using public api rather than old private one: - Query by cardFamilyId rather than unique one by one (reduce drastically the number of calls, as uniques can now be queried per batch of 30 cards) - On the other hand, each query runs twice, one per local (en-us, fr-fr) to retrieve internalizations
- Added post process to parse and store abilities and parts as in english - Added support in search results grid displaying logic to switch according to active language - Added support in search engine for abilities filtering per locale - Added support in abilities list for active language automatic switch still got some perks to fix
Added loading gif while lang is being processed from cookie, preventing flash between langs (eg: default to english, then switch to fr)
…rch returns cards where FR lang is not filled, auto switch to en)
- Added assets for language selection buttons - Added light/dark mode switcher - Moved search filters on collapsible drawer on the right of the screen - Added view modes (line vs grid, 2/3/4 elements per row in grid mode) - Added filters recap under results count
… after navigating to abilities list page
- Added login, register, logout and unregister options - Added corresponding pages and component for login and registration
- Added db tables to save search per user - Added button to save or delete filters - Added dialog to name the current save - Changed icon from png to svg
…n more, allow to do some "exception" cases) Allow for user connection with nickname or email rather than just email
- Modify UI to add the possibility to register a set trigger/condition/effect to apply to the search (up to a count of 3) - Added buttons to apply search mode: any of the registered set, of all at once - Updated search logic to handle multi ability filtering (two different functions are ran: for normal search/1 set, go to normal function, for multiple go the "search", as pure sql combinations can become too extensive. Thus we find by the first set, then filter again according to mode)
Updated readme and env to enable this option disabling if not needed / configured
…ons by default, masking the results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Imported previous PR content to this one
Updated UI
Added a set of new functions
And i think that's all. Been a busy week