* Add prettierrc and editorconfig
* Updated README with `npm run cf` steps & also a git command that will fix a line ending error
* Added reference
* Prettier ;_;
* Add gitattributes to make sure git uses core.autocrlf on windows
Co-authored-by: William Lam <w.lam@honteam.com>
* Added Danish translation
Added Danish translation for the line
"pages.articles":
* Added Danish translation
Added Danish translation for the following line.
"articlesGoTo"
* Added Danish translation
Added Danish translation for
"articlesGoTo"
added missing comma's in the code, so it follows correct formatting.
* removed empty line at end of the file
Removed an empty line under the "}" symbol.
* Fixed formating
Removed line 16, as it was completely empty.
* Update front.json
* Update front.json
* Fix CI
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Added new Article route that renders all Articles (with a reasonable upper limit for now).
- Also added a GoToPageBanner for the main Articles page (/a) on the front page. This is placed above the ArticlesPeek component
- Used the sendou_love navItem icon for the moment (this can be replaced at any time once a new art asset is added)
* Fixed Prettier CI pipeline error
* Ran `npm run check-translation-jsons` to update missing Translations for new key added
* Update public/locales/en/front.json
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* French localizations
* Removed unnecessary comment
* Converted h2 to h1 tags for Main Articles page
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Moved GoToPageBanner element for main articles page to below ArticlesPeek element
* Refactored some files so that the articles prop is passed into ArticlesPeek
- Also added the Articles header title in common.json
* Updated translation-progress.md
* Cleaned up data type for articles prop in ArticlesPeek
* Fixed React hydration error for translations on imported articles
- Added in SendouRouteHandle component on new Articles main page
* GoToPageBanner now optionally accepts a `navItem` parameter. It does not render the image if navItem is not passed into it
* Removed <Outlet /> JSX element on the main Articles page
* Removed sendou_love navItem on GoToPageBanner for articles page
* Fixed spacing issue by grouping ArticlesPeek and its corresponding GoToPageBanner element into a `stack` div
* Fixed pipeline error
* Update translation again
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Added translations for object dmg calculator
Added translation for the Object DMG calc
changes translations to make them more correct.
fixed minor typos and misspellings.
* Added translations
Added Danish translations for following lines
pages.object-damage-calculator
actions.loading
actions.clear
actions.selectAll
actions.search
maps.template
maps.template.none
maps.template.event
maps.template.presets
maps.template.yourRecentEvents
maps.template.preset.ANARCHY
maps.template.preset.ALL
maps.template.preset.onlyMode
forms.errors.noSearchMatches
errors.genericReload
* Added translation for ojb calc
Added translation for the following line
"object-damage-calculator.description"
* Added mode long desc translation
Added translations for the following lines
MODE_LONG_TW
MODE_LONG_SZ
MODE_LONG_TC
MODE_LONG_RM
MODE_LONG_CB
* Fix
* Prettify
* Added translation for torpedo explanation
Added translation for
"torpedoExplanation":
* Update translation-progress.md
* Added Danish translations
Added Danish translations for
damage.toSplat_one
damage.DIRECT_MIN
damage.DIRECT_MAX
Added capital starting letter for
"damage.DISTANCE":
"damage.SPLASH":
* Update translation-progress.md
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Update analyzer.json for DE
* Minor fix for DE analyzer.json
* Update common.json for DE
* Update front.json for DE
* Update translation-progress.md
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Issue 858: On the new calendar page adding a new Date entry with the "Add" button will now insert a new date with an offset of +24 hours of the previous row's date value.
* Added comment to ignore the TSLint "object can be null" error
* Changed `var` to `const`
* Fixed Prettier checks in CI pipeline
* Fixed Typecheck CI pipeline error
* Moved getDateWithHoursOffset() function to app/utils/dates.ts
* Added new line at end of file
* Added getValidNewDateIfInvalid() function. This retrieves a valid date. If invalid, get a new Date object.
- So now, if we intentionally/accidentally delete the data in the Calendar's DateInput element, it will be reset to the current Date/Time
* Refactored DateInput component's update state mechanism to be handled by an onChange() function defined in the parent component that is passed to the child
* Prettier formatting so that the new CI pipeline won't output errors at me
* Removed unused imported types
* Removed the datesCount React Hook & refactored accordingly
* Removed unused loader-related variables
* DateInput onChange prop is now optional
* Instead of generating a new Array, iterate over DateInput's inputState's array instead
* Fix potential undefined error
* DatesInputState: refactored to remove index & access the index during iteration with map() 2nd arg
* Properly initialized state for pre-existing events =)
- Also added TODO comments for improving date input handling (1082)
* Prettier formatting
* Uncommented console.warn()
* Touched up comment
* Issue 1068: Hide Highlights section if the user has exactly 1 result on their profile
* Moved the logic so that we only hide the "Choose Highlights" button if the user has exactly 1 result & they have exactly 1 highlight selected
* Updated logic to hide the Highlights section if the user only has 1 total result
* Prettier fix
* Passed a FUSE_OPTIONS object to the Fuse() object.
- We can now adjust how "strict" the search is.
* Refactored Combobox to accept an optional fuseOptions object as a prop
* Fixed fuseOptions prop data type & added a default initialized value of {}
- Moved the USER_COMBOBOX_FUSE_OPTIONS outside of the function
* Issue 1036: non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon
* Revert "Issue 1036: non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon"
This reverts commit a0de4e0047.
* Issue 1036: Non-draggable ability icons will no longer have its cursor morphed to a pointing hand icon.
- Done correctly by conditionally choosing to render a <button /> or <div /> HTML element for ability icons everywhere Ability() was invoked by passing in readonly
* Removed stray console.warn() line, added a brief comment
* Removed unnecessary tabIndex adjustment for AbilityTag element if it is readonly (since it is no longer rendered as a button if it is readonly)
- We now also condtionally give type="button" to AbilityTag only if it is actually a button
* Conditionally set AbilitiesSelector's Ability JSX elements to readonly if the ability is "UNKNOWN"
* Fixed failed check for Prettier in CI pipeline
* Ability component now only chooses the readonly class if no onClick function is passed into it
- Exception: if the ability is "UNKNOWN", it will be forced to readonly
* Fixed Prettier error in CI pipeline
* Fixed Typecheck error in BuildCard.tsx
* Fixed Prettier CI pipeline error again
* Was checking for an undefined type incorrectly. Now the logic works properly
* Fixed Prettier error
* Cleaned up classname declaration syntax to React's shorthand
* Added translations for object dmg calculator
Added translation for the Object DMG calc
changes translations to make them more correct.
fixed minor typos and misspellings.
* Added translations
Added Danish translations for following lines
pages.object-damage-calculator
actions.loading
actions.clear
actions.selectAll
actions.search
maps.template
maps.template.none
maps.template.event
maps.template.presets
maps.template.yourRecentEvents
maps.template.preset.ANARCHY
maps.template.preset.ALL
maps.template.preset.onlyMode
forms.errors.noSearchMatches
errors.genericReload
* Added translation for ojb calc
Added translation for the following line
"object-damage-calculator.description"
* Added mode long desc translation
Added translations for the following lines
MODE_LONG_TW
MODE_LONG_SZ
MODE_LONG_TC
MODE_LONG_RM
MODE_LONG_CB
* Fix
* Prettify
* Added translation for torpedo explanation
Added translation for
"torpedoExplanation":
* Update translation-progress.md
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
Planned to be replaced with Playwright maybe?
Just removing in the meanwhile so they don't confuse people.
Or that people won't accidentally develop new.
* Added translations for object dmg calculator
Added translation for the Object DMG calc
changes translations to make them more correct.
fixed minor typos and misspellings.
* Added translations
Added Danish translations for following lines
pages.object-damage-calculator
actions.loading
actions.clear
actions.selectAll
actions.search
maps.template
maps.template.none
maps.template.event
maps.template.presets
maps.template.yourRecentEvents
maps.template.preset.ANARCHY
maps.template.preset.ALL
maps.template.preset.onlyMode
forms.errors.noSearchMatches
errors.genericReload
* Added translation for ojb calc
Added translation for the following line
"object-damage-calculator.description"
* Added mode long desc translation
Added translations for the following lines
MODE_LONG_TW
MODE_LONG_SZ
MODE_LONG_TC
MODE_LONG_RM
MODE_LONG_CB
* Fix
* Prettify
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>