Skip to content
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

2537 update common data metadata task #2741

Merged
merged 16 commits into from
Mar 18, 2015

Conversation

juanignaciosl
Copy link
Contributor

@viddo could you make front part consistent with this? I'd only change "Data Library" text message, but you're free to add whatever you want. When we launch this, common data loading/update will be triggered when a user has not loaded it or has not updated it in a month. Load time is in the order of one minute.

edit: fixes #2537 (for reference) /viddo

@viddo
Copy link
Contributor

viddo commented Mar 12, 2015

Initially I think the proposal is good (to change the message communicated there), I'd get back to this after I finish the current issue I'm working on 👍

@viddo
Copy link
Contributor

viddo commented Mar 12, 2015

ETA later today.

@viddo viddo self-assigned this Mar 12, 2015
@viddo
Copy link
Contributor

viddo commented Mar 13, 2015

screen shot 2015-03-13 at 10 33 55

Good enough?

Nicklas Gummesson added 2 commits March 13, 2015 11:08
To match actual usage, also had duplicate entries
@viddo
Copy link
Contributor

viddo commented Mar 13, 2015

Anyway, you can change the texts directly on the file on Github if you want a slightly different text, see https://github.com/CartoDB/cartodb/blob/2537-Update_common_data_metadata_task/lib/assets/javascripts/cartodb/new_dashboard/views/content_no_results.jst.ejs (line 25 and 42) by clicking the pen icon in the top-right corner ("Edit in file"), and change the corresponding text.

@viddo viddo assigned juanignaciosl and unassigned viddo Mar 13, 2015
@viddo
Copy link
Contributor

viddo commented Mar 13, 2015

reassigned back to you @juanignaciosl merge whenever you consider it to be done :)

@juanignaciosl juanignaciosl changed the title [NOMERGE] 2537 update common data metadata task 2537 update common data metadata task Mar 16, 2015
@juanignaciosl
Copy link
Contributor Author

@saleiva we can enable this whenever you want.

@saleiva
Copy link
Contributor

saleiva commented Mar 17, 2015

Hey one last comment, could we put the loading indicator instead of the icon? Makes sense, right?

@juanignaciosl
Copy link
Contributor Author

IMHO, in that case, since a user might stare the loading icon mesmerized waiting to end, maybe we should add a polling that waits for available data.

@viddo
Copy link
Contributor

viddo commented Mar 17, 2015

Agree. Reassigning it to myself again then. Btw, @juanignaciosl, if you don't have more changes TBD I can take care of doing the merge and release if you prefer?

@juanignaciosl
Copy link
Contributor Author

Take care of it if you want, thank you very much!

@viddo
Copy link
Contributor

viddo commented Mar 17, 2015

Changed the no-results view to a loading view for this use-case. Library data is polled until there are at least one item (every 10 sec, to avoid hammering servers) and/or the user navigates elsewhere. See gif for example below (changed the poll to 2sec for demonstration purposes):
common-data

@viddo
Copy link
Contributor

viddo commented Mar 17, 2015

...cc @juanignaciosl @saleiva, if you're OK with this I'll merge & deploy tomorrow morning.

Fixes #2804, to match account page
@Cartofante
Copy link
Collaborator

Frontend tests were OK 👍 (details)

viddo added a commit that referenced this pull request Mar 18, 2015
…a_task

2537 update common data metadata task
@viddo viddo merged commit dba64ce into master Mar 18, 2015
@viddo viddo deleted the 2537-Update_common_data_metadata_task branch March 18, 2015 15:07
@viddo viddo mentioned this pull request Aug 27, 2015
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.

Update common data metadata task
4 participants