summaryrefslogtreecommitdiffstats
path: root/pkg/cheatsheet
AgeCommit message (Collapse)Author
2024-01-28Render keybinding cheatsheet as markdown tableJesse Duffield
We're going to be adding tooltips to the cheatsheet to better explain what each actions does. As such, we're switching to a table format rather than a list. I'm also changing how the keys are represented, using a markdown approach rather than an html approach
2024-01-14Make it possible to handle toasts in integration testsStefan Haller
Use it in two selected tests to demonstrate what it looks like.
2023-09-29Use go:generate for generating cheatsheetsStefan Haller
This has several benefits: - it's less code - we're using the same mechanism to generate all our auto-generated files, so if someone wants to add a new one, it's clear which pattern to follow - we can re-generate all generated files with a single command ("go generate ./...", or "make generate") - we only need a single check on CI to check that all files are up to date (see previous commit)
2023-07-30Standardise on using lo for slice functionsJesse Duffield
We've been sometimes using lo and sometimes using my slices package, and we need to pick one for consistency. Lo is more extensive and better maintained so we're going with that. My slices package was a superset of go's own slices package so in some places I've just used the official one (the methods were just wrappers anyway). I've also moved the remaining methods into the utils package.
2023-07-30Initial addition of support for worktreesJoel Baranick
2023-07-22Better tag creation UXJesse Duffield
Previously we used a single-line prompt for a tag annotation. Now we're using the commit message prompt. I've had to update other uses of that prompt to allow the summary and description labels to be passed in
2023-05-25Use sentence case everywhereJesse Duffield
We have not been good at consistent casing so far. Now we use 'Sentence case' everywhere. EVERYWHERE. Also Removing 'Lc' prefix from i18n field names: the 'Lc' stood for lowercase but now that everything is in 'Sentence case' there's no need for the distinction. I've got a couple lower case things I've kept: namely, things that show up in parentheses.
2023-05-21Update cheatsheetJesse Duffield
Now that we're using the angle-bracket syntax everywhere for consistency, we need to escape the angle brackets in the markdown of the cheatsheets.
2023-04-30Split commit message panel into commit summary and commit description panelSean
When we use the one panel for the entire commit message, its tricky to have a keybinding both for adding a newline and submitting. By having two panels: one for the summary line and one for the description, we allow for 'enter' to submit the message when done from the summary panel, and 'enter' to add a newline when done from the description panel. Alt-enter, for those who can use that key combo, also works for submitting the message from the description panel. For those who can't use that key combo, and don't want to remap the keybinding, they can hit tab to go back to the summary panel and then 'enter' to submit the message. We have some awkwardness in that both contexts (i.e. panels) need to appear and disappear in tandem and we don't have a great way of handling that concept, so we just push both contexts one after the other, and likewise remove both contexts when we escape.
2022-12-30integrate snake game into lazygitJesse Duffield
2022-10-15Use lazycore utils: Clamp and GetLazyRootDirectoryGustavo Andrioli
2022-09-17remove deprecated callsjiepeng
2022-08-14better CLI interfaceJesse Duffield
2022-08-14even better structureJesse Duffield
2022-08-07move merge conflicts code into controllerJesse Duffield
2022-08-06rename merging context to mergeConflictsJesse Duffield
2022-08-06refactor to only have one context per viewJesse Duffield
2022-05-08fix cheatsheetJesse Duffield
2022-05-07clearer separation of concerns when bootstrapping applicationJesse Duffield
2022-04-06chore: typo hunting ft. codespellcasswedson
2022-03-27allow menu to store keybindings for quick menu navigationJesse Duffield
2022-03-26show namesake for child viewsJesse Duffield
2022-03-24refactor cheatsheet generatorJesse Duffield
2022-03-24more thingsJesse Duffield
2022-03-24more genericsJesse Duffield
2022-03-24lots more genericsJesse Duffield
2022-03-19update lintersJesse Duffield
2022-03-17refactor credential handlingJesse Duffield
2022-03-17fix cheatsheet crashJesse Duffield
2022-03-17more refactoringJesse Duffield
2022-03-17resetting controllers on new repoJesse Duffield
2022-03-17start moving commit panel handlers into controllerJesse Duffield
more and more move rebase commit refreshing into existing abstraction and more and more WIP and more handling clicks properly fix merge conflicts update cheatsheet lots more preparation to start moving things into controllers WIP better typing expand on remotes controller moving more code into controllers
2022-03-16ignore current user language when generating cheatsheetsJesse Duffield
2022-01-19softer auto-generation messageJesse Duffield
2022-01-04add cheatsheet check scriptJesse Duffield