-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Remove owner concept #1181
Open
wrigleyDan
wants to merge
5
commits into
main
Choose a base branch
from
remove-owner-concept
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 tasks
… and related JS files
I am going to poke at this... just in case I can get Quepid 8 out this weekend... |
…member But it works!
I changed my mind on pushing furthur... I think you have good progress! I'd love to get this in next week. Ping me about pairing if needed. |
can't wait to see simpler quereis. This guy;s mean is 247 ms SELECT DISTINCT cases.*, ( SELECT COUNT(queries.id) FROM queries WHERE case_id = cases.id ) AS queries_count, `cases`.`id` AS t0_r0, `case_metadata`.`user_id` AS t1_r0, `case_metadata`.`case_id` AS t1_r1, `case_metadata`.`last_viewed_at` AS t1_r2, `case_metadata`.`id` AS t1_r3 FROM `cases` LEFT OUTER JOIN `teams_cases` ON `teams_cases`.`case_id` = `cases`.`id` LEFT OUTER JOIN `teams` ON `teams`.`id` = `teams_cases`.`team_id` LEFT OUTER JOIN `teams_members` ON `teams_members`.`team_id` = `teams`.`id` LEFT OUTER JOIN `users` ON `users`.`id` = `teams_members`.`member_id` LEFT OUTER JOIN `case_metadata` ON `case_metadata`.`case_id` = `cases`.`id` WHERE (`teams_members`.`member_id` = 20 OR `cases`.`owner_id` = 20) AND (`cases`.`archived` = false OR `cases`.`archived` IS NULL) AND `cases`.`id` IN (8458, 8461, 6789, 6789, 601, 8461, 640, 8197, 8460, 3628, 1535, 8315, 6009, 7710, 8457, 4848, 4848, 4060, 601, 7713, 8217, 8239, 8239, 8215, 8217, 8215, 6789, 8197, 5541, 601) ORDER BY `case_metadata`.`last_viewed_at` ... and this one is 1241ms: SELECT DISTINCT `case_metadata`.`last_viewed_at`, `cases`.`id` AS alias_0, `cases`.`id` FROM `cases` LEFT OUTER JOIN `teams_cases` ON `teams_cases`.`case_id` = `cases`.`id` LEFT OUTER JOIN `teams` ON `teams`.`id` = `teams_cases`.`team_id` LEFT OUTER JOIN `teams_members` ON `teams_members`.`team_id` = `teams`.`id` LEFT OUTER JOIN `users` ON `users`.`id` = `teams_members`.`member_id` LEFT OUTER JOIN `case_metadata` ON `case_metadata`.`case_id` = `cases`.`id` WHERE (`teams_members`.`member_id` = 20 OR `cases`.`owner_id` = 20) AND (`cases`.`archived` = false OR `cases`.`archived` IS NULL) ORDER BY `case_metadata`.`last_viewed_at` DESC, `cases`.`id` DESC LIMIT 30 |
…ut unnecessary tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
How Has This Been Tested?
Screenshots or GIFs (if appropriate):
Types of changes
Checklist: