Skip to content

Commit

Permalink
Minor improvement on tags page (#453)
Browse files Browse the repository at this point in the history
* Don't error if storing markers in localstorage throws an error

The bug on some versions of safari was caused by this - for reasons unknown it was throwing a quota exceeded error when we go to cache the markers.
The app appears to work without this in any case, so we just catch the error and log an informational message before carrying on, which fixes the safari issue.

* Add error to catch

* use angular-spinner from our cloned repo

* Minor improvement on tags page

---------

Co-authored-by: Tim Cowlishaw <[email protected]>
  • Loading branch information
oscgonfer and timcowlishaw authored Nov 30, 2023
1 parent 926de36 commit 1447e9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/components/tags/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ <h2>
<div class="kitTags__textElement">
<h4 class="md-title">About #Tags</h4>
<p class="sg-paragraph2">
Smart Citizen is a project by <a target="_blank" href="http://fablabbcn.org/">Fab Lab Barcelona</a> to offer an alternative to the centralised data production and management systems used by the large corporations that constitute the driving force behind the smart city concept. The project empowers citizens and communities to gather information on their environment and make it available to the public, using open source hardware and software design.
These tags are contributed by the community and show the variety applications of the Smart Citizen Project. You can use tags to organize and filter devices. If you need a tag, and you can't find one that works for you, you can request the creation of new tags in the forum.
</p>
<md-button class="color-cyan" ng-href="https://forum.smartcitizen.me/index.php?p=/discussion/comment/1501" target="_blank">SUGGEST NEW TAGS</md-button>
<br>
<a style="text-decoration: none" href="https://forum.smartcitizen.me/c/general/" class="btn-black-outline btn-round-new">SUGGEST NEW TAGS</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 1447e9c

Please sign in to comment.