Commit Graph

3809 Commits

Author SHA1 Message Date
Mattias Granlund
bf58208b7e Rewrite branches component styles from tailwind to regular css 2023-11-23 10:59:53 +00:00
Mattias Granlund
d5840959be Revert "Add inter font through Google Fonts"
This reverts commit d98623fc43.
2023-11-23 09:41:39 +00:00
Mattias Granlund
43a3a8b71e Fix color on project dropdown component 2023-11-22 23:36:16 +00:00
Mattias Granlund
d98623fc43 Add inter font through Google Fonts
We should perhaps bundle this?
2023-11-22 23:07:22 +00:00
Mattias Granlund
fe5595b59f Make project selector look like design 2023-11-22 23:06:49 +00:00
Mattias Granlund
63f50f5cf4 Increase tooltip timeout to 2.5s 2023-11-22 22:07:30 +00:00
Mattias Granlund
69bf23fd0b Start both remote branches and prs with empty array
In the future we should figure out a way of keeping the stream undefined until either has emitted.
2023-11-22 22:07:09 +00:00
Mattias Granlund
db94da1184 Use correct style tag in some components 2023-11-22 22:06:59 +00:00
Mattias Granlund
4d6088880b chore: update spacing and radius variables in CSS file
The spacing and radius variables in the CSS file were updated to use relative units (rem) instead of fixed pixel values. This allows for better responsiveness and flexibility in the design.
2023-11-22 21:52:33 +00:00
Kiril Videlov
0893441379 chore: fix inconsistency in menu item ID for project settings 2023-11-22 22:12:56 +01:00
Mattias Granlund
cdb7d12fe6 Fix error
This section was meant to be included in the previous commit.
2023-11-22 21:02:10 +00:00
Mattias Granlund
5fd83e2461 Force collapse stashed branches when empty 2023-11-22 21:02:10 +00:00
Mattias Granlund
e1402b7178 Show correct number of stashed branches 2023-11-22 21:02:10 +00:00
Mattias Granlund
41a91a5823 Show time ago in loading indicator 2023-11-22 21:01:50 +00:00
Mattias Granlund
eb98425231 Allow modern javascript
Needed for e.g. [].slice()
2023-11-22 20:49:58 +00:00
Kiril Videlov
e80f806ff4 fix: update set_current_project function to properly handle user and project ID updates 2023-11-22 20:04:20 +01:00
Kiril Videlov
db46907fb0 feat: add menu action to navigate to project settings page; introduces the notion of 'current project'; the app now starts with the last current project 2023-11-22 19:13:03 +01:00
Mattias Granlund
2cefd8493c Update sidebar header to match design 2023-11-22 17:36:54 +00:00
Mattias Granlund
ad4544674b Rename "your branches" to "stashed branches" 2023-11-22 16:08:52 +00:00
Mattias Granlund
4c8c0d9bb2 Fix tooltip inconsistencies with design 2023-11-22 16:01:00 +00:00
Mattias Granlund
23eade8d53 Improve project selector styles 2023-11-22 15:42:34 +00:00
Mattias Granlund
e27c7ab289 chore: refactor tooltip component in Svelte
- Removed arrow middleware from floating actions.
- Updated the styles for the tooltip component
2023-11-22 15:25:41 +00:00
Mattias Granlund
e59cc2a39a Rename store.ts -> service.ts
- reflects the class name
2023-11-22 15:18:49 +00:00
Mattias Granlund
ca6e8f6597 Rename folder
- renames remotecontributions -> branches
2023-11-22 15:18:49 +00:00
Mattias Granlund
511abc951c chore: update font-weight for text classes
The font-weight property for the text classes has been updated to 500 to improve readability and consistency across the application.
2023-11-22 15:17:13 +00:00
Nikita Galaiko
7c6abf17f3
Merge pull request #1671 from gitbutlerapp/add-remote-error-to-repository
Add remote error to repository
2023-11-22 15:09:42 +01:00
Nikita Galaiko
c62adb4531 handle git network errors 2023-11-22 15:05:06 +01:00
Nikita Galaiko
47ce0c49e8
Merge pull request #1669 from gitbutlerapp/virtual-branch
Virtual branch
2023-11-22 15:03:33 +01:00
Mattias Granlund
254c5084b7 Use login instead of name field for pr author 2023-11-22 14:02:57 +00:00
Nikita Galaiko
104a401400 refactor: change debug log to info log for project push status 2023-11-22 14:22:27 +01:00
Nikita Galaiko
b4f67aaa7a
Merge pull request #1664 from gitbutlerapp/all-refs
Just push all refs
2023-11-22 14:08:15 +01:00
Mattias Granlund
829390ee73 Fix lint errors 2023-11-22 12:55:04 +00:00
Mattias Granlund
af9ea08dc6 Start implementing new sidebar
- big commit, but still work in progress
2023-11-22 12:55:04 +00:00
Nikita Galaiko
d8265ee910
Merge pull request #1667 from gitbutlerapp/push-project-to-gitbutler
Push project to gitbutler
2023-11-22 13:51:47 +01:00
Nikita Galaiko
3e08e60bf1 set actual time 2023-11-22 13:46:42 +01:00
Nikita Galaiko
78d2944476 push default_target, not head 2023-11-22 13:38:44 +01:00
Nikita Galaiko
bd01550cd5
Merge pull request #1666 from gitbutlerapp/refactor
refactor
2023-11-22 13:05:09 +01:00
Nikita Galaiko
9e7a6379fe use refname where possible 2023-11-22 12:20:07 +01:00
Nikita Galaiko
229745b721 rename branch to refname 2023-11-22 10:33:31 +01:00
Nikita Galaiko
743289dc2d
Merge pull request #1665 from gitbutlerapp/handle-git-errors
Handle git errors
2023-11-22 09:51:07 +01:00
Nikita Galaiko
af9b9c465b categorize git network error 2023-11-22 09:29:12 +01:00
Scott Chacon
65928d78b8 just push all refs 2023-11-21 15:18:10 -08:00
Nikita Galaiko
372f60189b
Merge pull request #1663 from gitbutlerapp/delete-empty-branches
delete empty branches
2023-11-21 14:36:43 +01:00
Nikita Galaiko
43fda60c25 on unapply, delete empty branches 2023-11-21 14:29:58 +01:00
dependabot[bot]
0760d602e9 chore(deps-dev): bump nanoid from 5.0.1 to 5.0.3
Bumps [nanoid](https://github.com/ai/nanoid) from 5.0.1 to 5.0.3.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.1...5.0.3)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 13:28:00 +00:00
dependabot[bot]
60fc4981a7 chore(deps-dev): bump eslint from 8.53.0 to 8.54.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 13:27:51 +00:00
dependabot[bot]
6446d7819e chore(deps-dev): bump marked from 9.1.4 to 10.0.0
Bumps [marked](https://github.com/markedjs/marked) from 9.1.4 to 10.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v9.1.4...v10.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 13:27:43 +00:00
Nikita Galaiko
6b14c71ed2
Merge pull request #1660 from gitbutlerapp/fix-repo-usage
fix repo usage
2023-11-21 14:00:05 +01:00
Nikita Galaiko
8b730cc267 always call odb create 2023-11-21 13:51:37 +01:00
Nikita Galaiko
0eac6f96be make sure to use project repo 2023-11-21 13:51:18 +01:00