The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
Go to file
idonahue b790a5457f Improve GitButler chat UI and structure
This commit enhances the GitButler chat user interface by refining the layout, adding clearer chat messages, and improving the overall structure. The changes include a more organized display with chat history and new messages, better styling for chat messages, and the introduction of a chat container for easier navigation through the chat.

Changes:
- Wrap chat components in a GitBTLR-container for better organization
- Add chat-container with better styling and layout for chat history and messages
- Modify the appearance of chat messages with new styling, colors, and icons
- Use distinguishable message bubbles for user and GitButler messages for improved readability
2023-04-19 18:24:17 +02:00
.github/workflows removing chromatic 2023-04-05 21:09:34 +02:00
.storybook use svelte templates for storybook 2023-03-31 14:35:14 +02:00
.vscode recommend eslint and prettier plugin for vscode 2023-02-27 13:26:17 +01:00
scripts disable debug in release script 2023-02-20 17:01:33 +01:00
src Improve GitButler chat UI and structure 2023-04-19 18:24:17 +02:00
src-tauri handle file deletion 2023-04-19 15:47:20 +02:00
.env.development Posthog integration GB-36 (#18) 2023-02-22 14:38:45 +01:00
.env.production Posthog integration GB-36 (#18) 2023-02-22 14:38:45 +01:00
.eslintignore use svelte templates for storybook 2023-03-31 14:35:14 +02:00
.eslintrc.cjs Revert "add Storybook dev dependency" 2023-03-27 17:25:19 +02:00
.gitignore Add a Terminal (#49) 2023-04-05 10:10:07 +02:00
.npmrc simple tauri example 2023-01-31 15:55:57 +01:00
.prettierignore sort out lint/format setup 2023-02-24 10:46:41 +01:00
.prettierrc include prettier-plugin-tailwindcss into config 2023-03-07 11:53:11 +01:00
package.json cleanup terminal 2023-04-06 11:17:09 +02:00
pnpm-lock.yaml cleanup terminal 2023-04-06 11:17:09 +02:00
postcss.config.cjs sort out lint/format setup 2023-02-24 10:46:41 +01:00
README.md REAEME and pnpm format 2023-04-18 12:54:38 +02:00
svelte.config.js sort out lint/format setup 2023-02-24 10:46:41 +01:00
tailwind.config.cjs Improve diff visualization on the commit page. 2023-04-17 17:03:50 +02:00
tsconfig.json fix remaining eslint issues 2023-02-24 11:00:17 +01:00
vite.config.js inline source maps 2023-04-03 14:15:32 +02:00

Development

Prerequisites

see here for the list of software required to build / develope the app.

Setup

Then, make sure to install app dependencies:

$ pnpm install

Run

Now you should be able to run the app in development mode:

$ pnpm tauri dev

Running Storybook

Storybook is our easy way to view our app components. Running the following command will launch Storybook in your default browser.

$ pnpm storybook dev

Linting

Pull requests will not pass unless files are linted for proper Tailwind formatting.

$ pnpm format

building

To build the app in production mode, run:

$ pnpm tauri build

Icon generation

$ pnpm tauri icon path/to/icon.png

Releasing

Building is done via GitHub Action. Go to the link and select Run workflow from the desired branch.

Versioning

When running the release action, you will have to choose one of major, minor, or patch release type. Action will generate a new version based on your input and current version found at https://app.gitbutler.com/releases.

publishing

To publish a version that you've just build, use Release Manager.

runners

Note that to build an arm64 macos app, you need to make sure that there is at least one self-hosted runner with macos-aarch64 label is online here.

If you are a lucky owner of an arm64 macos machine, feel free to run it yourself. Make sure to label it with macos-aarch64.