Skip to content

Version mismatch - #1

Merged
FlamingoLindo merged 25 commits into
mainfrom
version_mismatch
Feb 17, 2026
Merged

Version mismatch#1
FlamingoLindo merged 25 commits into
mainfrom
version_mismatch

Conversation

@FlamingoLindo

Copy link
Copy Markdown
Owner

This pull request introduces several improvements and new features to the project, focusing on emote API integration, settings management, dependency upgrades, and developer tooling. The most significant changes are the addition of robust API clients for Twitch and 7tv emotes, a new settings module for token management, expanded window and capability configuration, and enhancements to formatting and dependencies.

API Integration and Data Structures

  • Added new API clients for Twitch and 7tv emotes, including error handling and credential management, with DTOs for structured responses (src/lib/apis/emotes/twitch.emotes.ts, src/lib/apis/emotes/7tv.emotes.ts, src/lib/apis/DTO/emotes/emotes.dto.ts, src/lib/apis/DTO/emotes/7tv.dto.ts, src/lib/apis/DTO/twitch.api.error.ts) [1] [2] [3] [4] [5].
  • Introduced new Twitch-related DTOs for user, channel, and message data structures (src/lib/apis/DTO/ITwitch.ts).

Settings and Token Management

  • Implemented a new settings module for loading tokens from a TOML file, including error handling and struct definitions (src-tauri/src/settings/load_tokens.rs, src-tauri/src/settings/settings_struct.rs, src-tauri/src/settings/mod.rs, src-tauri/src/lib.rs, src-tauri/Cargo.toml) [1] [2] [3] [4] [5].

Window and Capability Configuration

  • Added a new emote-window to the Tauri configuration and updated window capabilities and permissions for improved control (src-tauri/tauri.conf.json, src-tauri/capabilities/default.json) [1] [2].

Dependency and Tooling Updates

  • Upgraded and added dependencies for Tauri, TailwindCSS, Graffle, GraphQL, Prettier, and related plugins for improved development experience and styling (package.json, .prettierrc, src/app.css) [1] [2] [3].
  • Added new spelling words to cspell.json to support domain-specific terms.

Documentation and Workflow Enhancements

  • Updated the README.md with new screenshots and a disclaimer about the color scheme, and added a GitHub Actions workflow to automatically update the README with branch commit info (README.md, .github/workflows/update_readme.yml) [1] [2].

- Introduced a new emote management system with GlobalEmotes and Emotes_types components.
- Implemented channel addition and removal features in the Add_channel and Channel_list components.
- Enhanced chat functionalities with Chat_input and Chat_messages components for message handling.
- Added an Emote_menu for easy access to emotes.
- Created a No_channel component to prompt users to add channels when none are available.
- Integrated Twitch video streaming capabilities with Twitch_video component.
- Established options for channel management in Channel_options component.
- Configured a modal system for user interactions in various components.
- Set up a Prettier configuration for consistent code formatting.
- Added `tauri-plugin-log` for logging capabilities.
- Implemented `load_tokens` command to retrieve user tokens from `settings.toml`.
- Updated `globalEmoteService` to use tokens for Twitch API requests.
- Refactored `Emotes_types.svelte` for improved layout.
- Removed unused `+page.server.ts` file and created a new `+page.ts` for loading emotes.
- Updated dependencies in `Cargo.toml` and `yarn.lock`.
- class and service for controlling the 7tv api

- Component that shows the 7tv emotes
reference the current branch and commit description
@FlamingoLindo
FlamingoLindo marked this pull request as ready for review February 17, 2026 17:34
@FlamingoLindo
FlamingoLindo merged commit 737573a into main Feb 17, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a comprehensive overhaul of the project, transforming it from a basic Tauri + SvelteKit template into a functional Twitch chat application with emote integration. The changes include API integration for Twitch and 7TV emotes, settings management for storing tokens, a custom UI with TailwindCSS, and enhanced window management capabilities.

Changes:

  • Added API clients for Twitch and 7TV emotes with error handling and credential management
  • Implemented settings module for loading tokens from TOML configuration
  • Added custom UI components for chat messages, channel management, and emote browsing
  • Configured multiple windows (main and emote-window) with custom decorations and permissions

Reviewed changes

Copilot reviewed 44 out of 48 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Added dependencies for TailwindCSS, GraphQL, Graffle, Prettier, and various utility libraries
vite.config.js Added TailwindCSS plugin to Vite configuration
tsconfig.json Added trailing newline
src/routes/emote-tab/+page.ts Added page load function for emote data fetching
src/routes/emote-tab/+page.svelte Created emote tab page with search and emote display
src/routes/emote-tab/+layout.svelte Created layout with custom titlebar for emote window
src/routes/+page.svelte Replaced template content with main chat application UI
src/routes/+layout.svelte Created root layout with custom titlebar and window controls
src/mock/mock.data.ts Added mock channel and message data
src/lib/index.ts Added API endpoint constants
src/lib/components/* Added multiple UI components for chat, channels, emotes, and modals
src/lib/apis/* Added API clients, DTOs, and services for Twitch and 7TV integration
src/app.css Added TailwindCSS imports and custom scrollbar styles
src-tauri/tauri.conf.json Added emote-window configuration and updated main window settings
src-tauri/src/settings/* Added settings module for token management
src-tauri/src/lib.rs Replaced greet command with load_tokens and added logging plugin
src-tauri/capabilities/default.json Added emote-window to capabilities and expanded window permissions
src-tauri/Cargo.toml Added config and tauri-plugin-log dependencies
package.json Updated dependencies including Tauri CLI and added TailwindCSS, GraphQL, and Prettier
cspell.json Added project-specific words to dictionary
README.md Updated with screenshots, disclaimer, and API reference link
.prettierrc Added Prettier configuration with Svelte plugin
.gitignore Added settings.toml to ignored files
.github/workflows/update_readme.yml Added workflow to update README with branch commit info
Comments suppressed due to low confidence (1)

src/lib/components/shared/Custom_modal/Custom_modal.svelte:1

  • Inline event handler assignments should be extracted to separate functions for better readability and testability. Consider creating a dedicated handler function.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +91 to +92
return this.request<The7TvAPIResponse>(endpoint, { method: 'POST' });
}

Copilot AI Feb 17, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The queryParams parameter is declared but never used in the function body. The 7TV API expects a GraphQL query in the request body, but this method doesn't pass it. This will cause the API call to fail.

Suggested change
return this.request<The7TvAPIResponse>(endpoint, { method: 'POST' });
}
const body = queryParams ? JSON.stringify(queryParams) : undefined;
return this.request<The7TvAPIResponse>(endpoint, { method: 'POST', body });

Copilot uses AI. Check for mistakes.
Comment thread README.md
# Tauri + SvelteKit + TypeScript

This template should help get you started developing with Tauri, SvelteKit and TypeScript in Vite.
**Disclaimer.:** Color schema will change I'm just leaving black, white, and red because its easier for me to see any changes this way

Copilot AI Feb 17, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected punctuation and grammar: 'Disclaimer:' (single colon), 'color scheme' (not 'schema'), and 'it's' (contraction of 'it is').

Suggested change
**Disclaimer.:** Color schema will change I'm just leaving black, white, and red because its easier for me to see any changes this way
**Disclaimer:** Color scheme will change; I'm just leaving black, white, and red because it's easier for me to see any changes this way.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants