Commit Graph

4373 Commits

Author SHA1 Message Date
Nate Kelley 9f86f337ff
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 22:13:53 -06:00
Nate Kelley 0a34db8989
revise front end to use shared components 2025-07-17 22:12:12 -06:00
Nate Kelley 70a5fd6ec0
Merge pull request #540 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
Big nate/bus 1424 default color palette in workspace settings
2025-07-17 18:53:59 -06:00
Nate Kelley 10e37f07de
update all types to work better together 2025-07-17 18:51:45 -06:00
Nate Kelley 09e4b36bf5
add dictionaries for color schemes 2025-07-17 17:16:15 -06:00
dal cd8a50403f
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 17:16:07 -06:00
dal 525a2c5e23
fix list logic 2025-07-17 17:04:30 -06:00
dal b6cf6539ea
Merge branch 'origin/staging' into dallin/bus-1380-fix-unit-tests - Resolved conflicts in CLAUDE.md 2025-07-17 16:52:03 -06:00
dal 9f8b964381
Merge pull request #532 from buster-so/devin/1752763318-fix-unit-tests-across-packages
Fix unit tests across packages - move tests alongside source files and ensure proper mocking
2025-07-17 15:44:16 -07:00
dal 54fcd12979
Merge pull request #537 from buster-so/devin/BUS-1435-1752781371
feat(slack): implement scope validation and re-installation flow for BUS-1435
2025-07-17 15:40:04 -07:00
Devin AI e115dd28b2 fix(slack): resolve scope validation and default channel issues
- Add missing 'channels:join' and 'channels:manage' to required OAuth scopes
- Update scope validation to handle comma-separated scope format
- Include defaultChannel in 're_install_required' status response
- Ensures complete integration data is returned in all status cases

Fixes scope validation for existing integrations and missing default channel data in API responses.

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 22:33:00 +00:00
dal 6dd27e04f5
Merge pull request #535 from buster-so/devin/BUS-1434-1752774026
Implement version-based deduplication in file selection for BUS-1434
2025-07-17 15:31:06 -07:00
Nate Kelley d2cd4fb173
create default them component 2025-07-17 16:24:46 -06:00
dal cc2dd7fa61
Enhance workspace member count integration across various handlers and components
- Introduced `count_workspace_members` utility function to retrieve the number of active users in a workspace.
- Updated chat, collection, dashboard, and metric handlers to include `workspace_member_count` in their responses.
- Modified relevant types to accommodate the new `workspace_member_count` field.
- Adjusted frontend components to display the number of workspace members in the ShareMenu and related UI elements.

These changes improve the visibility of workspace member information and enhance the overall user experience.
2025-07-17 16:21:14 -06:00
Nate Kelley e803d76f52
finalize default theme base 2025-07-17 15:59:37 -06:00
Nate Kelley aa8da2ae11
update to custom theme base 2025-07-17 15:52:09 -06:00
dal e1ff5098fd
nucleo filled 2025-07-17 15:49:50 -06:00
dal f71973eac2
Enhance ShareMenu and metric mocks with workspace sharing updates
- Adjusted the ShareMenu component styles for improved layout consistency.
- Added `workspace_sharing` property with a default value of 'none' in metric-related mocks and tests.
- Updated the mock dashboard to include the new `workspace_sharing` field.

These changes improve the UI and ensure that the workspace sharing feature is properly represented in the mock data.
2025-07-17 15:44:36 -06:00
Nate Kelley 490967a1bc
add additional context to menus 2025-07-17 15:38:47 -06:00
dal 4e2b6c235e
Refactor workspace sharing permissions across assets
- Updated the `WorkspaceSharing` enum to use camelCase for serialization.
- Introduced `workspace_permissions` field in update requests for chats, collections, dashboards, and metrics.
- Implemented handling of workspace sharing permissions in respective update handlers, allowing for setting and removing permissions.
- Adjusted frontend components and API interfaces to align with the new `workspace_sharing` naming convention.

This change enhances the consistency and usability of workspace sharing across different asset types.
2025-07-17 15:26:26 -06:00
Devin AI 623aaf2fb1 fix(slack): include status field in integration API response
- Add missing status field to GET /api/v2/slack/integration response
- Ensures 're_install_required' status reaches the UI for yellow button display
- Critical fix for scope validation feature to work end-to-end

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 21:24:48 +00:00
Nate Kelley 74aebb4291
color picker drag update for bug 2025-07-17 15:10:51 -06:00
Nate Kelley ba8c4640bf
Update NewThemePopup.tsx 2025-07-17 14:54:44 -06:00
dal d9f9182ab2
ui components and return the values 2025-07-17 14:51:53 -06:00
Nate Kelley b27dc430d9
create basic color spickers 2025-07-17 14:44:20 -06:00
Devin AI 55af2727a1 refactor(slack): extract shared scope validation helper function
- Create validateScopes helper to avoid code duplication
- Use shared function in both initiateOAuth and getIntegrationStatus
- Addresses code review feedback from greptile-apps[bot]

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 20:03:25 +00:00
dal 1e705c9828
Implement collection access checks for chats and dashboards
- Updated `get_chat_handler` to check for collection access when a user lacks direct permission.
- Modified `get_dashboard_handler` to first verify collection access before checking chat access.
- Added `check_chat_collection_access` function to validate user access to chats via collections.
- Enhanced `check_metric_dashboard_access` to include collection access checks concurrently with other permission checks.

This change improves the permission model by allowing access to chats and dashboards through associated collections, enhancing user experience and security.
2025-07-17 14:01:45 -06:00
Devin AI 077d6de476 feat(slack): implement scope validation and re-installation flow for BUS-1435
- Create centralized OAuth scopes constants file
- Add scope validation to integration status check
- Update OAuth flow to handle re-installations while preserving user settings
- Add yellow 'Re-install Required' button to UI when scopes don't match
- Implement proper error handling and rollback logic for failed re-installations

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 19:54:49 +00:00
Nate Kelley f77844fdab
Merge pull request #536 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
default color palette in workspace settings - api routes
2025-07-17 13:20:18 -06:00
Nate Kelley 5dd7b20f25
fix broken linting 2025-07-17 13:18:32 -06:00
dal 955aab3232
get max permissions between direct and workspace 2025-07-17 13:14:57 -06:00
Nate Kelley 64def9918d
Merge branch 'big-nate/bus-1424-default-color-palette-in-workspace-settings' of https://github.com/buster-so/buster into big-nate/bus-1424-default-color-palette-in-workspace-settings 2025-07-17 13:12:38 -06:00
Nate Kelley b8de7a5c51
update rules 2025-07-17 13:12:11 -06:00
Nate Kelley 8c562c70b5
Update apps/server/src/api/v2/organization/PUT.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-17 13:11:04 -06:00
Nate Kelley 0d5a881b89
Update packages/database/.cursor/schema.mdc
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-17 13:10:19 -06:00
Nate Kelley 1ae52ec603
update package readme for database 2025-07-17 13:06:42 -06:00
Nate Kelley 16045ced49
Added readme and other stuff for cursor 2025-07-17 12:56:42 -06:00
dal a0a1e11493
update workspace sharing on all assets 2025-07-17 12:54:02 -06:00
Nate Kelley ea02041ea5
Update README.md 2025-07-17 12:48:45 -06:00
Nate Kelley e44cda8f10
Update documentation for future background agents 2025-07-17 12:34:48 -06:00
Nate Kelley 7b24d167b9
hex values checking before insert into database 2025-07-17 12:17:34 -06:00
Nate Kelley ee8cce71f8
Add additional error handling for endpoint 2025-07-17 12:06:57 -06:00
Devin AI b80f15e3ef Fix formatting and remove stray characters
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 17:51:37 +00:00
Nate Kelley e55632e074
initial commits for update org 2025-07-17 11:41:31 -06:00
Devin AI 867e364b9a Implement version-based deduplication in file selection
- Add deduplicateFilesByVersion helper function with informative logging
- Modify selectFilesForResponse to handle version-based deduplication
- Balance priority logic (dashboards over standalone created metrics) with deduplication
- Default missing version numbers to 1
- Add comprehensive tests for deduplication scenarios
- Preserve existing priority logic when no deduplication is needed

Fixes BUS-1434

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 17:40:40 +00:00
dal 8f39fe768d
Merge pull request #534 from buster-so/jacob-prompt-changes-v3
Assumption Prompt / Variable use changes
2025-07-17 10:32:33 -07:00
Jacob Anderson d8ef44fa28 changes to the assumption prompts to make it catch more things, changes to the main agent so it does not use variables 2025-07-17 11:29:25 -06:00
Nate Kelley b1e7f7cfc1
Fix test db util type 2025-07-17 10:53:01 -06:00
Nate Kelley be6b510685
Merge branch 'staging' into big-nate/bus-1424-default-color-palette-in-workspace-settings 2025-07-17 10:51:17 -06:00
Nate Kelley c9467b713b
Merge pull request #533 from buster-so/hot-fix/avatar-url-in-share
Hot fix - avatar url in share menu and assets
2025-07-17 10:50:57 -06:00