Skip to content

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented Nov 20, 2019

Fixes #3532 and Partial fix for #3642

@auto-label auto-label bot added the feature label Nov 20, 2019
@iamareebjamal iamareebjamal added WIP and removed feature labels Nov 20, 2019
let queryString = {
get_trashed : true,
include : 'tickets,sessions,speakers,owner,organizers,coorganizers,track-organizers,registrars,moderators',
include : 'general-statistics,owner,organizers,coorganizers,track-organizers,registrars,moderators',
Copy link
Member

Choose a reason for hiding this comment

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

@iamareebjamal You will need to make this change in routes/events/list too

Copy link
Member

Choose a reason for hiding this comment

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

Also, Is the general-statistics needed ?

Copy link
Member Author

@iamareebjamal iamareebjamal Nov 21, 2019

Choose a reason for hiding this comment

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

You will need to make this change in routes/events/list too

Where is this used?

OK. own events.

Also, Is the general-statistics needed ?

Yes, sessions and speaker counts are shown using general statistics

Copy link
Member

@kushthedude kushthedude Nov 21, 2019

Choose a reason for hiding this comment

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

Yes, sessions and speaker counts are shown using general statistics

Speaker and Session Statistics are getting shown without using the general-statistics ?

@iamareebjamal
Copy link
Member Author

Removed general statistics for now because it is custom endpoint on server and not linked correctly. Tried but failed to link it to event correctly, so, will handle later/

@iamareebjamal
Copy link
Member Author

@prateekj117 @kushthedude Please review

cellComponent : 'ui-table/cell/cell-speakers-dashboard',
width : 90
},
{
Copy link
Member

Choose a reason for hiding this comment

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

@iamareebjamal I think we should comment it out, As ticket statistics have played a crucial role in our tables. We will need it once the DOS issues are resolved?

Copy link
Member Author

@iamareebjamal iamareebjamal Nov 21, 2019

Choose a reason for hiding this comment

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

This is a git repository, not a college project in a pen drive that something which is needed in the future needs to be commented out instead of deleting. It has the entire history of changes in the repo, any deleted thing can be recovered.

We will need it once the DOS issues are resolved

Then it'll add the DOS issue again. When is it a good idea to fetch unbounded one to many relationships of a list of objects? Answer - Never
If it'll need to be added, it'll be completely reimplemented and definitely not work like it was right now

@iamareebjamal iamareebjamal changed the title feat: Add debounce on search field feat: Add debounce on search field and remove included resources Nov 21, 2019
@kushthedude
Copy link
Member

kushthedude commented Nov 21, 2019 via email

@iamareebjamal iamareebjamal merged commit 940f384 into fossasia:development Nov 21, 2019
@iamareebjamal iamareebjamal deleted the search branch November 21, 2019 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ember tables: Add a delay for search query network request trigger

2 participants