|
| 1 | +title: CC Browser Extension Week 7, 8 |
| 2 | +--- |
| 3 | +categories: |
| 4 | +gsoc |
| 5 | +gsoc-2019 |
| 6 | +cc-browser-extension |
| 7 | +open-source |
| 8 | +--- |
| 9 | +author: makkoncept |
| 10 | +--- |
| 11 | +pub_date: 2019-07-19 |
| 12 | +--- |
| 13 | +body: |
| 14 | + |
| 15 | +For the context, I am working on my GSoC project that is to make a browser-extension to search CC Licensed content in the public domain by interacting with CC Catalog API. |
| 16 | + |
| 17 | +**Previous Blogs**: |
| 18 | +- [CC Browser Extension - A GSoC Project](https://opensource.creativecommons.org/blog/entries/cc-browser-extension-a-gsoc-project/) |
| 19 | +- [CC Browser Extension Week 5, 6](https://opensource.creativecommons.org/blog/entries/cc-browser-extension-week5-6/) |
| 20 | + |
| 21 | +### Work Done |
| 22 | +A couple of major features were added to the browser extension these weeks like image Info and attribution preview and options UI. Also, the extension now has dark mode :) |
| 23 | +<div> |
| 24 | +<img src="home-light.png" alt"CC Browser Extension Screenshot" height=500 /><br> |
| 25 | +<small class="muted">CC Browser Extension Welcome Screen (light)</small> |
| 26 | +</div> |
| 27 | +<br> |
| 28 | +<div> |
| 29 | +<img src="home-dark.png" alt"CC Browser Extension Screenshot" height=500 /><br> |
| 30 | +<small class="muted">CC Browser Extension Welcome Screen (dark)</small> |
| 31 | +</div> |
| 32 | +<br> |
| 33 | + |
| 34 | +Now, when the user clicks on the image thumbnail, a popup with image information (like title, creator link, license, and provider links), attribution (both rich text and HTML version) and social media share links opens. |
| 35 | + |
| 36 | +We also tried to figure out a way to let users download the images and attribute the creator with the least possible clicks. Right now there are two user-flows: |
| 37 | +1. If the users need only one image, they can press the `Download Image` button and copy the desired attribution to the clipboard. |
| 38 | +2. If they need to download multiple images in a single session, they can press `Download Image and Attribution`. This will download both versions (rich text and HTML) of attribution in a text file of the same name as the image file. |
| 39 | + |
| 40 | +<div> |
| 41 | +<img src="info-light.png" alt"CC Browser Extension Screenshot" height=500 /><br> |
| 42 | +<small class="muted">CC Browser Extension Image Info/Attribution popup(light)</small> |
| 43 | +</div> |
| 44 | +<br> |
| 45 | +<div> |
| 46 | +<img src="info-dark.png" alt"CC Browser Extension Screenshot" height=500 /><br> |
| 47 | +<small class="muted">CC Browser Extension Image Info/Attribution popup(dark)</small> |
| 48 | +</div> |
| 49 | +<br> |
| 50 | +These workflows work perfectly on chrome. Whereas, Firefox prompts the user to confirm the download with a popup (if they have not already set a default option) and this results in termination of the browser-extension session. So, the purpose of the second workflow of letting the user continue the session while also downloading the images fails here. I also had a discussion about this with the mentors and we brainstormed some possible solutions. I have written about a possible solution in the 'Coming Up' section below. |
| 51 | + |
| 52 | +I also added an options page to the extension which will open in a new tab and the user can set default filters here. So, now they don't have to apply the filters that they often use again and again for every session. |
| 53 | + |
| 54 | + |
| 55 | +### Coming Up |
| 56 | +- Add a bookmark feature. A lot of the users may want to save multiple images for later to check out. I think this might also provide a better solution to the problem discussed above. |
| 57 | +- Test and fix bugs. |
| 58 | +- Improve documentation. |
| 59 | + |
| 60 | +You can check out the project on [Github](https://github.com/creativecommons/ccsearch-browser-extension) and join the discussion on `#gsoc-browser-ext` channel on [slack](https://opensource.creativecommons.org/community/#slack). |
| 61 | + |
| 62 | +*Special Thanks*: [Alden](https://creativecommons.org/author/aldencreativecommons-org/), [Timid](https://creativecommons.org/author/timidcreativecommons-org/) and [Kriti](https://creativecommons.org/author/kriticreativecommons-org/) |
0 commit comments