Commit Graph

716 Commits

Author SHA1 Message Date
Mattias Granlund
bca71dce6d Small fixes to ResizeObserver
- disconnect takes no argument and unobserves everything
- prevents accidentally unobserving the wrong element
2024-03-16 09:52:18 +01:00
Mattias Granlund
717186a3e4 Small improvement to commit dialog data binding 2024-03-16 09:52:18 +01:00
Mattias Granlund
1475f06958 Miscellaneous fixes
- some things I found while working
2024-03-16 01:55:53 +01:00
Pavel Laptev
39434bede4 style: Update button size design token 2024-03-16 01:12:09 +01:00
Mattias Granlund
8a83e01ce0 Fix dev problem when hot reloading
- must check if element is still connected before manipulating element
2024-03-16 00:22:18 +01:00
Mattias Granlund
5d927abfcc Simplify GitHub service a little
- this branch will be force pushed again
2024-03-15 23:27:52 +01:00
Pavel Laptev
180d0eebd5 Commit box: race condition fixeed 2024-03-15 15:13:45 +01:00
Pavel Laptev
546e60c433 Merged origin/master into Commit box two fields 2024-03-15 14:32:48 +01:00
Scott Chacon
5afa391dfe wrong lint order 2024-03-15 05:45:34 +01:00
Scott Chacon
7fc51b775e Add GitButler app version 2024-03-15 05:45:34 +01:00
Scott Chacon
cec15bcdd0 send more context with feedback (OS, browser, index size) 2024-03-15 05:45:34 +01:00
Kiril Videlov
e0b0b85ad8 refactor: Update email input placeholder text and add required attribute to improve user experience 2024-03-14 20:31:21 +01:00
Pavel Laptev
ddee80788b style: add white-space: nowrap to label class
In order to prevent line breaks on the Tag component
2024-03-14 20:31:21 +01:00
Pavel Laptev
558340d17b refactor: Remove unused code 2024-03-14 20:31:21 +01:00
Mattias Granlund
82650a5500 Switch to new style of upstream commit list
- this work was left uncompleted a month back
2024-03-14 20:31:21 +01:00
Mattias Granlund
263ef78ed6 Refactor a couple of things for clarity 2024-03-14 14:29:06 +01:00
Kiril Videlov
e6acfe9afd refactor: Update email input placeholder text and add required attribute to improve user experience 2024-03-14 12:04:13 +01:00
Pavel Laptev
15d2238d82 style: add white-space: nowrap to label class
In order to prevent line breaks on the Tag component
2024-03-14 11:49:00 +01:00
Pavel Laptev
3203acf971 refactor: Remove unused code 2024-03-14 11:42:49 +01:00
Mattias Granlund
e7b80725ea Switch to new style of upstream commit list
- this work was left uncompleted a month back
2024-03-14 09:23:53 +01:00
Pavel Laptev
f2856ea899 Removed console.log 2024-03-13 23:59:20 +01:00
Pavel Laptev
8611597eaa Added custom useResize hook, code review
- Code review fixes
- In order to correct textareas hights I added custom hook that's watch for any size changes. Added it only for the summary because it's always on
2024-03-13 21:26:39 +01:00
Pavel Laptev
ac314fd143 Merged origin/master into Commit box two fields 2024-03-13 21:02:33 +01:00
Mattias Granlund
464fafc12a Refactor checks loading status
- it was left a bit too chaotic and hard to follow in the last commit
2024-03-13 19:29:10 +01:00
Mattias Granlund
07d7879f31 Show loading state while fetching PR checks 2024-03-13 18:06:32 +01:00
Pavel Laptev
9148df8ac7 Code review fixes
- Removed unused import
- Removed commited `console.log)
- Updated logic to correctly handle splitting summary and description
- Updated text styling for commit message textarea
2024-03-13 15:13:21 +01:00
Pavel Laptev
756efcb102 Formatting fixes 2024-03-13 13:50:15 +01:00
Pavel Laptev
560e0fb8ce added tooltip if commit summary is too long 2024-03-13 13:50:15 +01:00
Pavel Laptev
6fd1b1f23f Two fields workaround
- modified commit box in order to support summary and description
- modified useAutoHight hook, made two functions
- added focus class for input styles
2024-03-13 13:50:15 +01:00
Mattias Granlund
60e5f3d600 Change copy on pull request card
- Capitalize pr status
- Merge -> Merge pull request
- View PR -> Open in browser
2024-03-13 12:41:55 +01:00
Pavel Laptev
cfe347f343 unused component VideoTip and imports removed 2024-03-12 23:34:26 +01:00
Pavel Laptev
3d54ac7b16 Formatting fixes 2024-03-12 23:30:57 +01:00
Pavel Laptev
c310fa0e9f remove video from the app
related issue #3126
2024-03-12 23:29:23 +01:00
Pavel Laptev
d894690ec2 related issue #3126 2024-03-12 22:58:47 +01:00
Mattias Granlund
9aa2115c12 Fix for merge button being incorrectly disabled
- disable only if checks exist and they have not succeeded
2024-03-12 21:49:34 +01:00
Kiril Videlov
9892e4f9c8 refactor: Remove condition for admin role check in rendering upstreamCommits component. 2024-03-12 20:48:04 +01:00
Kiril Videlov
6aabf37b2c refactor: when fetching hunks by file return a map of DiffFile
Adding stonger types to the result will allow us to more easily propagate information like old/new files paths, size etc
2024-03-11 22:44:19 +01:00
Pavel Laptev
409fce9c30 SectionCard card and credential checks
- renamed `SectionCard` slot from `body` to `caption`
- `CredentialCheck` layout and style fixes
- `Spinner` icon updated in order to prevent scroll appearance during the animation
2024-03-11 00:17:15 +01:00
Pavel Laptev
7224a4dd0c removed unused code and tailwind from +layout.svelte 2024-03-10 21:40:43 +01:00
Pavel Laptev
30b9442974 Replace loading... plain text to the spinner page 2024-03-10 21:12:08 +01:00
Pavel Laptev
68a2a15b2b refactor: remove unnecessary comment and event for hover 2024-03-10 21:09:49 +01:00
Mattias Granlund
07229ea37f Fix ctrl +- for zooming on Linux
- fixed by reading tinykeys docs, found $mod 

https://github.com/jamiebuilds/tinykeys
2024-03-10 20:59:03 +01:00
Mattias Granlund
b5ac036091 Enable lint rule to disallow arrow functions where it isn't necessary 2024-03-10 20:19:30 +01:00
Mattias Granlund
a2d4def691 Refactor arrow functions into normal functions #2
- converts remaining arrow functions to named functions
2024-03-10 20:19:30 +01:00
Mattias Granlund
a8eb502d79 Refactor arrow functions into normal functions
- as discussed in person and on discord, to keep consistency in the code base
2024-03-10 15:14:56 +01:00
Mattias Granlund
bfc418e5e7 Fix new project redirect
- `goto('..')` was redirecting to previous project
2024-03-10 14:35:17 +01:00
Mattias Granlund
836e3aaa4d Fix bug in credential checker
- `.catch()` was attached to wrong promise
2024-03-10 11:56:28 +01:00
Pavel Laptev
d5c70c4030
Merge pull request #3083 from gitbutlerapp/scrollbar-updates
scrollbar-updates
2024-03-10 11:55:14 +01:00
Mattias Granlund
88283e4ac9 Simplify credential checker
- fewer if conditions
- no need for hiding checks on success
- adds reset method
2024-03-10 10:34:23 +01:00
Mattias Granlund
6137d6b63a Refactor credential check
- show tests while running (with indicator)
- incremental progress update
2024-03-10 09:24:17 +01:00