aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
AgeCommit message (Collapse)Author
2022-04-17fix(translation): don't translate placeholdersflow
Those are modified programatically, and never show up to the user!
2022-04-17Merge pull request #411 from kthchew/feature/menubarSefa Eyeoglu
2022-04-17Improve menu bar setting stringKenneth Chew
2022-04-17Disable instead of hide menu bar option on LinuxKenneth Chew
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-04-17Fix bugs with instance menu bar options when opening without instancesKenneth Chew
- The launch option is no longer empty. - The program now checks on startup whether an instance is selected to decide whether to disable instance options. Also, get rid of a dynamic cast.
2022-04-16Use `TranslatedAction` instead of `QAction` for menu bar actionsKenneth Chew
2022-04-16Remove the Edit menu bar menuKenneth Chew
It wouldn't bring much utility. - The keyboard shortcuts for copy/paste/etc. already work and are well-known. The menu bar likely doesn't need to advertise them. - There's not very many places you would be able to use these options in the main window (because there's not many places to type stuff in the main window). It would only be applicable on systems with a native menu bar that shows in all other windows as well (but again, the keyboard shortcuts still work). Also, rename `actionWiki` -> `actionOpenWiki` to match the corresponding `on_actionOpenWiki_triggered`
2022-04-16Merge pull request #392 from flowln/mod_filterSefa Eyeoglu
2022-04-16Use preexisting actions in the menu barKenneth Chew
The code is now much cleaner. Because the actions already present are enabled elsewhere even when the menu bar is hidden, keyboard shortcuts added to them automatically work regardless of whether the menu bar is visible. This means that the hacky workaround related to this can be removed.
2022-04-16Close the current window instead of the main window from the menu barKenneth Chew
Systems with native menu bars show the same menu bar for all child windows. As a result, you cannot assume that the menu bar's parent (the `MainWindow`) will be the window in focus.
2022-04-16Merge pull request #430 from DioEgizio/make-helppages-on-their-own-dirEzekiel Smith
CHANGE: switch the help pages to their own dir
2022-04-15Add logged in accounts to the profiles menu bar menuKenneth Chew
Additionally, add keyboard shortcuts for switching between different accounts.
2022-04-15Add option to always show menu bar instead of toolbarKenneth Chew
For those who like keyboard navigation at the expense of aesthetics.
2022-04-15Implement help (open wiki) menu bar actionKenneth Chew
2022-04-15Fix keyboard shortcut for delete instance on some devicesKenneth Chew
My laptop has a key labeled "delete," but for some reason it doesn't work with `QKeySequence::Delete`. Instead it's interpreted as a backspace.
2022-04-15Improve menu bar keyboard usabilityKenneth Chew
More reasonable (unique) menu access keys were chosen. In addition, move the settings action from the Help menu to the Edit menu.
2022-04-15Only enable instance options while an instance is selectedKenneth Chew
2022-04-15Add Quilt install option while creating an instanceKenneth Chew
2022-04-15Fix Fabric versions appearing for unsupported MC versionsKenneth Chew
Also remove an old TODO comment, mentioning an issue that was already fixed.
2022-04-15Show no loader selected message when add instance window first opensKenneth Chew
This resolves an issue where the message only shows when selecting a mod loader and then selecting "None" again.
2022-04-15Fix build on Qt 5.6Kenneth Chew
2022-04-15Add option to install mod loader during instance creationKenneth Chew
2022-04-15ui: resize mod download dialog using its parents geometryflow
2022-04-15ui: underline search button text when changing filtersflow
This hopefully makes it easier to the user to know that their changes will only apply after hitting the search button. I tried setting the background color, but it seems more unreliable on cross-platform than underlining. Also, it could be worse for daltonic people, so I don't know what to do :(
2022-04-15rework: make the filter as a tabbed widget in the dialog itselfflow
Still needs a clear indication that the filter only applies after you click the search button...
2022-04-15fix: Polish usage in some casesflow
Also fiz some typos
2022-04-15fix: 'All' filter working and get around CF API capabilitiesflow
2022-04-15fix(ui): Refresh mod list when changing filtering optionsflow
2022-04-15feat: Use version filter when searching modsflow
2022-04-15feat: Integrate newly created filter dialog in ModPageflow
2022-04-15feat: Add dialog to filter mod options in mod downloadflow
2022-04-15Merge pull request #185 from Scrumplex/quiltSefa Eyeoglu
Quilt support
2022-04-15CHANGE: switch the help pages to their own dirDioEgizio
also renames modrinth-platform/curseforge-platform to just Mod-platform since they have the pages are basically the same
2022-04-14refactor: cleanup ModLoaderTypeSefa Eyeoglu
2022-04-14fix: support Quilt from Minecraft 1.14 onwardsSefa Eyeoglu
2022-04-14fix: remove unused codeSefa Eyeoglu
2022-04-09refactor: switch Quilt mappings to hashed MojMapSefa Eyeoglu
2022-04-08Fix typos causing build failures on non-macOS systemsKenneth Chew
It also did the exact opposite thing I was trying to do, so that's fixed too...
2022-04-08Show and hide the menu bar with the 'alt' keyKenneth Chew
Only applicable for systems without a native menu bar (i.e. almost anything that is not macOS or Ubuntu Unity). On these systems, the menu bar appears on top of the window, which does not look good next to the tool bar already up there. When the menu bar is hidden, the keyboard shortcuts set by the menu bar are disabled. They should always work, so this also adds a workaround for that.
2022-04-08Create menubar prototypeKenneth Chew
Some stuff still needs to be fixed: - The close window option always closes the main window, even if it is not the currently active window (only applicable on systems with native menu bar) - None of the (text) editing actions are enabled - Actions related to instances should only be active when an instance is selected - The open wiki option ("PolyMC Help") needs to be implemented - Delete instance keyboard shortcut does not seem to work on my system. Test further - It would be nice if the profiles menu had all of the logged in accounts, and if they could be selected from that menu (preferably with keyboard shortcuts, probably Ctrl + 1, Ctrl + 2, ...)
2022-04-07fix: check for Quilt as Fabric-compatible loaderSefa Eyeoglu
2022-04-07fix: restrict quilt-mappings versions to MC versionSefa Eyeoglu
2022-04-07NOISSUE prevent -version being passed to the JREPetr Mrázek
We want specific JREs, always, not something that is magically resolved. This counteracts some really bad advice recently being spread on reddit.
2022-04-07feat: initial Quilt supportSefa Eyeoglu
2022-04-07Merge pull request #364 from Scrumplex/fix-i18n2Ezekiel Smith
Fix translatable strings 2
2022-04-06Merge pull request #380 from flowln/task-progressSefa Eyeoglu
2022-04-06Merge pull request #384 from jamierocks/technic-improvementsSefa Eyeoglu
2022-04-06Allow components to specify Java agents and JVM arguments (#175)Una
2022-04-04Merge pull request #345 from Scrumplex/handle-incompatible-javaSefa Eyeoglu
2022-04-02BuildConfig: Make Technic API base URL and build constantsJamie Mansfield