aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/views/PlayView.vue
AgeCommit message (Collapse)Author
2023-05-22refactor: Change error messages and function names to EA App (#362)GeckoEidechse
* refactor: Change error message to mention EA App instead of Origin * refactor: Rename function to refer to EA App * refactor: Rename function to mention EA and Origin * style: Fix formatting * refactor: Update translation text to EA App * refactor: Change emit name to EA App instead of Origin * docs: Update comment to mention EA App
2023-05-09style: Partially autoformat Vue source files (#326)GeckoEidechse
* style: Add/remove spaces where applicable * style: Add missing newlines * style: Fix indentation * style: Add newlines between CSS classes
2023-04-10feat: Show download progress for installing Northstar (#200)GeckoEidechse
* chore: Bump libthermite to 0.5.3 This adds a change needed for making progressbar work on dowload * wip: First attempt at showing download progress Simply prints it to JavaScript console for now * feat: Emit download progress at most every 250ms If we spam emit too much we use a lot of extra resources, slowing down the actual download * feat: Initial messages for extracting * feat: Add install state enum * refactor: Change payload to current + total size downloaded * fix: Remove extra emit * fix: Remove extra emit * refactor: Rename struct * refactor: Move struct to top of file * feat: Add TypeScript bindings * feat: Add console logs for printing state for now * fix: Remove duplicate identifier * feat: Initial progressbar in frontend * fix: Remove event listener added for debugging * feat: Display status and downloaded bytes * feat: Set loading bar to indeterminate on extract * fix: Phrasing in comment * feat: Add i18n for progress state * refactor: Adjust control flow do not show downloaded size anymore during extraction * fix: Manually specify progressbar size * fix: Update download progress every 100ms instead of 250ms Gives impression of faster / more fluent download. * feat: layout does not move when progress bar is hidden * feat: fix progress bar width to 200px * refactor: put services container in a flex container, for it not to overlap play button * refactor: export progress bar to dedicated component file * refactor: Update status first outside of branch * fix: Proper typing of event payload * fix: Do not assign to unused variable --------- Co-authored-by: Rémy Raes <contact@remyraes.com>
2023-04-10refactor: Notifications (#259)Rémy Raes
* feat: wrap ElNotification class in a showNotification method * refactor: replace notification invocations in mod views * feat: add 'info' type to showNotification method * refactor: replace notification invocations in repair view * refactor: replace notification invocations in settings view * refactor: replace notification invocations in developer view * feat: showNotification method now returns a NotificationHandle * feat: showNotification has a duration argument * refactor: replace notification invocations in pull requests module * refactor: replace notification invocation in repair view * refactor: replace notification invocations in UI store * refactor: remove unused import from play view * refactor: use showErrorNotification method to wrap up error display * fix: add missing showErrorNotification imports * style: format code * style: format ThunderstoreModCard.vue * style: format pull_requests.ts * style: format SettingsView.vue * style: format RepairView.vue * style: format DeveloperView.vue * refactor: remove useless import * refactor: add missing showErrorNotification invocation * feat: showErrorNotification has an optional title argument * style: format LocalModsView.vue
2023-03-28feat: i18n (#182)Rémy Raes
* build: add vue-i18n dependency * feat: add i18n plugin to vue project * feat: use translations in play button * feat: translate play view * feat: translate menu items * feat: translate local mods view * feat: translate online mods view * feat: translate mods menu * feat: translate thunderstore mod card component * fix: remove useless "this" keyword * feat: translate settings view * fix: remove leftover test invocation * feat: add language selector component * feat: using language selector updates interface's language * feat: save language in persistent store on selector change * feat: initialize lang on app launch * refactor: move i18n code into App.mounted callback * feat: update interface language on app launch * feat: adjust language selection on language selector load * fix: this.$root can't be null * feat: translate store notifications * fix: add missing parameter to english translation * feat: translate "by" author keyword * feat: translate repair window * feat: translate repair window title * docs: add some documentation regarding localization * docs: explain how to add a new language * feat: translate Northstar release canal selector elements * docs: describe how to inject variable into translations * feat: translate "info" word * feat: translate popconfirm buttons * fix: remove "this" keyword * fix: save store when updating interface language
2023-02-12feat: Display Northstar playercount and servercount in frontend (#130)GeckoEidechse
* feat: Initial backend code to get the playercount from the Northstar master server together with servercount * fix: Push correct backend code * feat: Load playercount on application load and show on PlayView * refactor: Store global const in separate file Moved user agent there for now * refactor: User user agent from global const * refactor: Move masterserver URL into global const * refactor: Remove temporary variable * fix: Do proper typing for playercount return value * feat: Change text if unable to load playercount So instead of showing some wrong value, we just say that we were unable to load it. * fix: Remove leftover print statement * refactor: Move struct to library source file * fix: Remove break element * refactor: serverlist endpoint var to global const * fix: Remove unused import * fix: add some space to stats container top * fix: Change text to lowercase --------- Co-authored-by: Alystrasz <contact@remyraes.com>
2022-12-22feat: Maximize button + clean menubar layout (#119)Rémy Raes
* feat: add a button to toggle window maximize status * fix: attach services container to bottom Container was fixed, but with no positioning indication, which fucked its location while going fullscreen. * refactor: encase menu in navigation container * fix: remove CSS ID duplication * refactor: put window controls inside menu bar * feat: add style to additional submenu * fix: don't color focused menu items * fix: restore menu bar debug indicator
2022-11-11refactor: Clicking FC version activates dev (#44)GeckoEidechse
instead of clicking Northstar version. Makes dev mode a bit more "hidden" (i.e. less likely to be accidentally opened by end-user) and it's more logical to click FlightCore version to open **FlightCore** dev mode as opposed to clicking Northstar version.
2022-10-20refactor: Various formatting and fixes (#23)GeckoEidechse
* refactor: Add error return type * style: Auto-format Only minor changes, did not take over all changes from auto-format. * refactor: Rename function to get FC version number To make it more clear which version number we're getting (FlightCore vs Northstar)
2022-10-03refactor: Gecko is paranoidRemy Raes
2022-10-02refactor: type issuesRemy Raes
2022-09-29fix: restore launch button styleAlystrasz
2022-09-27refactor: export PlayButton component to dedicated fileAlystrasz
2022-09-27feat: we can now install Northstar if it wasn't detectedAlystrasz
2022-09-26fix: do not display "see patch notes" link with unknown Northstar versionAlystrasz
2022-09-26feat: game cannot be launched if Origin is not runningAlystrasz
2022-09-26developer mode can be turned off from developer viewAlystrasz
2022-09-25play button is disabled when game is runningRemy Raes
2022-09-24feat: add a "see patch notes" link to main viewRemy Raes
2022-09-24feat: display services state on dev modeRemy Raes
2022-09-24feat: developer mode can be activated by clicking northstar version multiple ↵Remy Raes
times
2022-09-24feat: use a store for application stateRemy Raes
2022-09-24refactor: remove "run server" buttonRemy Raes
2022-09-23feat: add PlayView componentRemy Raes