Test out the updated Atlas!!!

Atlas has been receiving improvements and new features as part of the GSoC Project OpenMRS Atlas 3.1, and is open for testing on atlas-stg. Feel free to create new markers and experiment with them! You can also edit/delete/update your markers! :slight_smile:

Screenshot%20from%202019-07-23%2012-49-58

Fading of markers can be toggled in the ā€˜View Panelā€™.

Screenshot%20from%202019-07-23%2012-36-52

There is no direct link for it in the interface but hereā€™s the link of the RSS Feed, which is where all the changes on atlas get posted. If 2 similar entries are posted in under 5 min, the 2nd one gets ignored.

I made a short demo of the work that has been done for the GSoC mid term presentations. You could take a look at it to get a better idea on how to use Atlas. :slight_smile:

Please post any bugs you find, here, or send me a DM. Thank you. :slight_smile:

cc: @burke @cintiadr @harsha89 @ball @akanter @ahabib @jennifer @dkayiwa @c.antwi

2 Likes

Do you have a link to some sort of documentation on how to use Atlas? For instance, one may want to test but may not know how to create, edit, delete markers, etc.

My bad! Hereā€™s the documentation. Its outdated but demonstrates how to add/delete/edit markers. Iā€™ll try and update the docs after I get home.

This looks really awesome - itā€™s a great thing that we can visualize the reach of the OpenMRS project through Atlas, and I hope that this new version looks will help people keep it more up-to-date.

If I find any bugs, Iā€™ll let you know.

1 Like

@heliostrike Nice work and your video was great.

How can I edit my sites that are (fading) on the map. How is the controlled? I have a bunch already on the map, but ā€œEdit my siteā€ does not appear to change my ability to edit. And I donā€™t see an edit icon (pencil) on the site information.

image

Is there interest to connect sites with the WHO Digital Health Atlas? https://digitalhealthatlas.org/ Maybe you could add that field (URL) to the site information. I think @jennifer mentioned using this.

Regards, Ellen

1 Like

Thank you from reporting this to me! Querying the database, I see that a lot of markers are linked to usernames like ā€˜openmrs_id:ballā€™, rather than just ā€˜ballā€™. I updated your markers so now you should be able to edit that marker. :slight_smile:

Also, there is already a site URL field that you can fill in. Try editing the marker. :slight_smile:

Thanks @heliostrike . I can edit now. However after updating the site, it still appears faded.

Could you give me the name of the marker you edited? Is it ā€œHinche EMRā€? The entry is updated and will no longer be faded once the page is refreshed. I think I wrote a bit of code to fix that bug and un-fade without needing any refreshing, but its either that atlas-stg is looking at an older version, or I accidentally deleted the fix in a newer PR. Iā€™ll take a look around and get back to you. :slight_smile:

ā€˜openmrs_id:ballā€™ was being stored in 2 tables. I updated one and not the other, so the database wasnā€™t being update. I updated the database now, so editing should work for you. Iā€™ll make a PR to update the database, and hopefully the entire problem will be resolved by evening.

It seems to work now. Thanks for your speedy response.

Thank you for testing out atlas and leading us to such a huge issue with the database. :slight_smile:

@ball, now that @heliostrike discovered & fixed the issue with legacy data, atlas-stg should be behaving properly for you. Have you seen the ā€œupdateā€ link on your sites? If youā€™re managing Atlas markers manually, all it takes is a tap of that link once a year to keep your sites from fading. Better yet, Atlas will send an email reminder before a site begins fading with convenient links to manage your marker. :slightly_smiling_face:

See if you can find another bug before we promote to production (probably this weekend). If you can, Iā€™ll buy you a drink. :beer:

The WHO Digital Health Atlas page says itā€™s open source, but I wasnā€™t able to find the source (just this empty repo). If they exposed an API, we might be able to integrateā€¦ but it looks like DHA might be a different granularity of info than OpenMRS Atlas. We could certainly link to it within our help text as another resource to consider. Thanks for the tip!

1 Like

I am able to update my sites, add new ones, delete. It all looks great. Nice work by @heliostrike. Itā€™s nice to see that Atlas is back.

Donā€™t think I can find another bug, but a :beer: is enticing. The ā€œedit siteā€ popup occasionally disappears while Iā€™m modifying data, but I wasnā€™t able to reproduce consistently. It happened 3 times, but I was able to use and enter information. Slightly annoying.

The ā€œupdateā€ link isnā€™t what I expected. It seems to un-fade the site, so a very useful feature. I thought it would allow me to edit/update the data. I assume this text is built into the atlas software. The link would be better named as ā€œConfirmā€, ā€œSaveā€, or something else.

1 Like

I see, Iā€™ll try to reproduce it and have a look at the code. The bug canā€™t hide forever! (or can it???)

Yup. The ā€˜updateā€™ link just quickly updates the ā€˜date_changedā€™ of a marker and unfades it. It doesnā€™t update any other data(unlike the save button in the edi window), just sort of pings. I can see how the name is a little misleading. :stuck_out_tongue:

Which browser (name & version) are you using? Any chance you have a trackpad on a laptop that youā€™re accidentally tapping? Any mouse click outside of the bubble will dismiss it.

In an earlier iteration, the ā€œupdateā€ link directly followed the ā€œLast update: July 1, 2019ā€, so it read like:

Last updated: July 1, 2019 (update)

which might have helped clarify what you were updating. Perhaps ā€œRefreshā€ or ā€œValidateā€ would be clearer? Or ā€œStill kickinā€™ā€? :slightly_smiling_face:

1 Like

+1 Still kickinā€™

I using Chrome (Version 75.0.3770.142 (Official Build) (64-bit)) on Ubuntu 16 with a mouse/full-keyboard.

LOL. Thatā€™ll be fun when we get to localizing Atlas and translating it into other languages. :slight_smile:

Strange. Thatā€™s the exact same version Iā€™m using. I still havenā€™t been able to reproduce the ā€œbubble interruptedā€ bug. Let us know if it continues to happen to you and if you can discern any pattern or, better yet, find a way to reproduce it.


@heliostrike,

Well, after some of your recent changes to atlas-stg, it was looking so good that ā€“ bit by the continuous deployment bug ā€“ I went ahead an applied the database changes and promoted release #87 to production! Congratulations!!! :partying_face:

image

In the spirit of continuous deployment, this doesnā€™t need to slow us down. Letā€™s continue to get changes into atlas-stg & tested there. But now thereā€™s no longer a scary wall to promote those new changes to production. :slight_smile:

@ball, continue to do any testing on atlas-stg; however, feel free to make any real updates to your sites at atlas.openmrs.org.

We can work with @jennifer to make an announcement next week! :slight_smile: In preparation for that, could you create a brief set of release notesā€¦ maybe on your project wiki page. Just a brief sentence on changes, focusing on things users will notice (donā€™t bother with admin features). For example:

  • OpenMRS Atlas is back! Visit atlas.openmrs.org today and register or revive your existing entries! You can once again log into OpenMRS Atlas with your OpenMRS ID to add your site(s) to the Atlas or edit existing ones! TIP: if you donā€™t see your old site, it may have faded away with time; turn off fading through the View menu to see all markers no matter how old they are.
  • Fading delayed. Instead of starting to fade in just 6 months, site on OpenMRS Atlas wonā€™t begin fading for a full year, then fade by 25% each 6 months until they disappear. You will be notified by email if you have a marker on OpenMRS Atlas that is about to fade.
  • Share the job of keeping your OpenMRS Atlas entries up to date! You can name co-owners for your site(s) to share the job of keeping them up to date
  • An OpenMRS Atlas news feed. Follow changes on that Atlas by adding <![CDATA[OpenMRS Atlas]]> to your favorite news feed.
  • Lotā€™s of updates under the hood. OpenMRS Atlas has been rebuilt from scratch as a node application. Itā€™s faster, easier to maintain, has improved administration features, and is set up for continuous delivery as we make enhancements going forward.
  • Module nextā€¦ A new version of the OpenMRS Atlas module will be coming soon.
2 Likes

@heliostrike, despite testing pretty thoroughly on staging, it took deploying to production for me to find a bug:

Iā€™ve described the bug and how to easily recreate it. Assuming the solution for ATLAS-200 is a simple fix, feel free to merge the change, deploy to staging, and ā€“ if itā€™s working staging ā€“ deploy to production. That is, donā€™t feel like you need to wait on me to deploy a simple bug fix like this to production.

Aye! Iā€™m looking at the issue right now. :slight_smile:

The ticket led me to find another bug where hitting ā€˜Edit my siteā€™ and then the edit button sometimes doesnā€™t open the edit window. I fixed them both in the latest commit. :slight_smile:

I also deployed the changes to production, so yay! :smiley:

Hi @heliostrike, I think I might have the same problem. I can log into talk but when I try to log into atlas, I cannot. When I try to reset my password, I use the new password to log into talk but not into atlas.