aboutsummaryrefslogtreecommitdiff
path: root/src-vue
AgeCommit message (Collapse)Author
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-11-09feat: Patch notes (#18)Rémy Raes
* feat: add Rust method to fetch Northstar release notes * feat: fetch release notes on changelog view mount * feat: only transmit some info to frontend GitHub API gives much information about releases, we only need some: name, publication date and content of such release; so other information is not transmitted to UI. * feat: add ReleaseInfo Typescript interface matching Rust struct * feat: display release notes on a timeline * refactor: remove old releases external link * build: add marked dependency * build: add marked types dev dependency * feat: format release notes' markdown * fix: member typo in ReleaseInfo interface * fix: type releases array * fix: open github links in external browser * fix: adjust marked import * refactor: store release notes in store Release notes are now stored in the app store, so we don't have to fetch them multiple times. * fix: notes fetching method is now async * feat: display a loading bar while release notes are being fetched * feat: display dates in white * feat: release notes' dates are human-readable * fix: make menu bar appear on top of release notes view when scrolled * feat: add custom scrollbar * refactor: format releases creation to please reviewer * Update src-tauri/src/github/mod.rs * Update src-tauri/src/github/release_notes.rs * Update src-vue/src/utils/ReleaseInfo.d.ts * fix: augment scrollbar opacity * fix: only display releases' release date (no more time of the day) * fix: adjust Github request user agent * style: add missing end line in src-vue/src/style.css * fix: link formatting only targets GitHub PR links (whose name begins with a #) * fix: timeline element children cannot be bigger than container card
2022-10-30feat: Enable toggling enabled mods (#29)GeckoEidechse
* feat: Enable toggling enabled mods Co-authored-by: pg9182 <96569817+pg9182@users.noreply.github.com> * chore: Update leftover comment Co-authored-by: pg9182 <96569817+pg9182@users.noreply.github.com>
2022-10-25feat: Show installed mods (#28)GeckoEidechse
Simply parses `enabledmods.json`. In the future we should also opt to check individual mods and compare with the JSON file.
2022-10-25chore: Update vue-tsc (#30)GeckoEidechse
2022-10-21feat: Add initial skeleton for ModsView (#27)GeckoEidechse
* feat: Backend code to get list of installed mods For now simply parses `enabledmods.json`. Note that this file will not be up-to-date if the user just installed a mod but hasn't launched Northstar yet. * feat: Empty skeleton page for ModsView Will be populated later with list of installed mods * chore: Remove leftover print statement
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-20Merge branch 'GeckoEidechse:main' into refactor/router-viewRémy Raes
2022-10-20feat: apply same height to all menu componentsRemy Raes
2022-10-20fix: restore native bar drag regionRemy Raes
2022-10-20fix: adjust focus styleRemy Raes
2022-10-20refactor: remove unused current_tab variable from storeRemy Raes
2022-10-20fix: restore updateCurrentTab method with routerRemy Raes
2022-10-20fix: display dev button only when dev mode is enabledRemy Raes
2022-10-20refactor: remove useless CSS classesRemy Raes
2022-10-20refactor: use el-menu router configuration directlyRemy Raes
2022-10-20fix: adjust containers positionRemy Raes
2022-10-20refactor: apply style to new app menuRemy Raes
2022-10-20refactor: replace tabs with app menu + router viewRemy Raes
2022-10-20fix: all routes must give a FutureRemy Raes
2022-10-20feat: push PlayView as default view on launchRemy Raes
2022-10-20feat: add router configRemy Raes
2022-10-20build: add vue-router dependencyRemy Raes
2022-10-19refactor: Use `Result<>` return type for Linux checks (#21)GeckoEidechse
* refactor: Use result return type for Linux checks * refactor: Store min required ldd version in const This way we only need to update a single variable in case min required version changes.
2022-10-19feat: Manually find game if needed (#7)Rémy Raes
* refactor: move updateGamePath method in store mutations * feat: play button allows game path update If game path was not found automatically and the user clicks the play button, FlightCore will ask him to point out his Titanfall2 installation folder. * refactor: change button text * feat: display a notification on successful game folder selection * feat: close permanent notification on successful game folder selection * fix: allow game launch with UNKNOWN install type on Windows * feat: set install type to UNKNOWN on manual folder pick * refactor: update omni-button text when game folder wasn't found
2022-10-18feat: Add persistent store (#16)GeckoEidechse
* refactor: Rename object field So that is specifically references Northstar * chore: Add plugin-store as npm dependency * feat: Persistent storing selected NS release canal * docs: Add explanation about persistent store
2022-10-18Add ldd --version check for Linux (#10)Salmon
2022-10-12fix: App bar drag (#13)Rémy Raes
* feat: dragging app bar drags the whole app The data-tauri-drag-region attribute cannot be put on menu bar directly because it contains elements, so we emulate its behavior with a mousedown listener. * fix: app cannot be dragged by background container * fix: type issues
2022-10-08feat: Show own version number in settings view (#11)GeckoEidechse
* feat: Show own version number in settings view Adds a new field to state that stores FlightCore version number. Version number is pulled from backend on application launch. * style: Reorder so that FC version is shown first * chore: Remove leftover TODO comment
2022-10-06Merge pull request #9 from GeckoEidechse/feat/enable-dev-mode-on-debugRémy Raes
feat: Enable dev mode directly if in debug mode
2022-10-06feat: Enable dev mode directly if in debug modeGeckoEidechse
Allows skipping clicking version number 5 times when working on FlightCore. Release builds are not in debug mode, so dev mode is still disabled by default for end-users.
2022-10-06refactor: Use string variable value directlyGeckoEidechse
instead of encapsulating in template literal
2022-10-06fix: Remove console logsGeckoEidechse
As requested in review
2022-10-06feat: Initial logic to disable all but core modsGeckoEidechse
In the future, this button should be moved to a "Repair" view. For now I'm putting it into Dev view for testing.
2022-10-05refactor: Use Element+ notif. instead of `alert()`GeckoEidechse
Less jarring then receiving an `alert()` as the first thing when opening FlightCore
2022-10-05feat: Allow switching between release channels (#3)GeckoEidechse
* feat: Allow switching between release channels Right now it's a single toggle button. In the future it should be a dropdown menu * fix: Use proper way to perform a change in state * refactor: Call right function to update state * fix: Use proper message type * refactor: Use ternary operator for release channel selection
2022-10-04fix: Install selected release canalGeckoEidechse
Use selected release canal for install/update instead of hardcoding to main release.
2022-10-04refactor: Give NorthstarState enum mapped stringGeckoEidechse
So that when printing out the value for debug purposes it is clear which value it is.
2022-10-04feat: Show notification if FlightCore is outdatedGeckoEidechse
2022-10-04refactor: Remove unused copied codeGeckoEidechse
2022-10-04Merge branch 'feat/new-ui' of github.com:Alystrasz/FlightCore into feat/new-uiAlystrasz
2022-10-04feat: migrate update check code to storeAlystrasz
2022-10-04refactor: rename store typeAlystrasz
2022-10-03chore: Fix import formattingGeckoEidechse
2022-10-03feat: add panic button to dev viewAlystrasz
2022-10-03feat: implement updateGamePath methodAlystrasz
2022-10-03fix: address options() typing issueAlystrasz
2022-10-03fix: address _initializeApp result typing issueRemy Raes
2022-10-03refactor: Gecko is paranoidRemy Raes
2022-10-03docs: update readmeRemy Raes