Skip to content

Commit 8d094f8

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 64dd10e + ebe78d8 commit 8d094f8

File tree

21 files changed

+531
-4
lines changed

21 files changed

+531
-4
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
title: CC Browser Extension Week 9, 10
2+
---
3+
categories:
4+
gsoc
5+
gsoc-2019
6+
cc-browser-extension
7+
open-source
8+
---
9+
author: makkoncept
10+
---
11+
pub_date: 2019-08-12
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+
- [CC Browser Extension Week 7, 8](https://opensource.creativecommons.org/blog/entries/cc-browser-extension-week7-8/)
21+
22+
### Work Done
23+
These weeks were spent on adding bookmarking feature to the extension and writing some unit tests.
24+
25+
On clicking the bookmark icon, that appears when the image thumbnail is hovered on, the image will be bookmarked. Under the hood, the unique image identifier is saved in the local storage of the extension. The images ids are enough to get all the required image and attribution data needed using the `/image/{identifier}` endpoint of [CC Catalog API]([https://github.com/creativecommons/cccatalog-api](https://github.com/creativecommons/cccatalog-api).
26+
27+
Bookmarked images persist even when the extension session terminates. User can view, inspect, delete the bookmarked images in the _'Bookmarks'_ section. There is also a button to delete all the bookmarks at once.
28+
29+
To let the users organize and share bookmarks, importing and exporting feature is also added. The buttons to export and import the bookmarks are in the options page. Simple `json` files are used for this feature.
30+
31+
The rest of the time was spent on writing tests for the extension. One positive side-effect of this was cleaner and modular code. Finally, the CircleCi config file was modified to let the tests to run in CI pipeline.
32+
### Coming Up
33+
- Write more tests.
34+
- Test and fix bugs.
35+
- Modifying webpack config to spit out code for production.
36+
37+
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).
38+
39+
*Special Thanks*: [Alden](https://creativecommons.org/author/aldencreativecommons-org/), [Timid](https://creativecommons.org/author/timidcreativecommons-org/) and [Kriti](https://creativecommons.org/author/kriticreativecommons-org/).
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
title: GSoC cc-chooser Final Post
2+
---
3+
categories:
4+
gsoc
5+
gsoc-2019
6+
---
7+
author: akmadian
8+
---
9+
pub_date: 2019-08-22
10+
---
11+
body:
12+
Summer of Code is drawing to a close, and so is my work on the chooser project (well, sort of, I'll continue to help build and support the project for some time). These have easily been some of the best months of my life for a number of reasons. I remember vividly getting my first Slack message from my mentor, Breno, and being in utter disbelief that I was chosen. I have been fortunate enough to have this project be my own, complete with a whole Git repo just for this project!
13+
14+
My work started with an empty GitHub repository, and bunch of planning: layout, wireframes, usability testing, etc. It wasn't until week 3 when I could start on actually building the site. To reflect on this time, I thought it would be cool to take a look back at the most significant PRs of the last three months.
15+
16+
- My first PR with anything of substance was [#9 - Refactor Modal System](https://github.com/creativecommons/cc-chooser/pull/9). This changed the site's modal system from using a cooler approach to one not quite as flashy, but the old method was lacking some critical features.
17+
- Then came [#10 - Add Chooser Functionality](https://github.com/creativecommons/cc-chooser/pull/10). This was a pretty big deal, as this brought the functionality behind the main point of the page: the License Chooser.
18+
- Next up, [#11](https://github.com/creativecommons/cc-chooser/pull/11): a big change to page layout. This changed the layout of the help section itself, and the layout of the page as a whole.
19+
- Another big design change: [#14](https://github.com/creativecommons/cc-chooser/pull/14). This PR changed the method of displaying the chosen license from the legacy look that was essentially just copied over from the legacy chooser, to a newer, more modern, and more informative card.
20+
- Then, [#23 - Add HTML Generator Functionality](https://github.com/creativecommons/cc-chooser/pull/23). This added functionality to the HTML Generator, previously just a collection of dummy controls and fields.
21+
- Currently still open, [#18](https://github.com/creativecommons/cc-chooser/pull/18). This PR changes the look and functionality of the chooser controls. Previously they were just some standard switches. Now, they are (in my opinion) more modern, and more informative, although maybe more difficult for the average user to grasp.
22+
- Lastly, and most recently, [#24 - Refactor Site to Vue Components](https://github.com/creativecommons/cc-chooser/pull/24). This is a complete rewrite of the entire site to shift from a standard HTML5/ CSS/ JS toolset to Vue.js.
23+
24+
For all of these merged PRs, there is still work to be done: more usability testing, ensuring that all content on the page meets the proper legal requirments, localization, adding CSS for mobile and tablet breakpoints, and deployment!
25+
26+
I plan to have #24 done and merged by Monday, August 26, and I hope to continue my work on the chooser project either in my free time, or by moving into a mentor type role.
Loading
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
title: Creative Commons WordPress Plugin Final Phase
2+
---
3+
categories:
4+
cc-wp-plugin
5+
gsoc-2019
6+
gsoc
7+
open-source
8+
wordpress
9+
---
10+
author: ahmadbilaldev
11+
---
12+
pub_date: 2019-08-23
13+
---
14+
body:
15+
16+
For the context, I am working with my mentor [Timid Robot](https://creativecommons.org/author/timidcreativecommons-org/) on Creative Commons WordPress Plugin in GSoC 2019. It is basically an attribution tool, allowing users to attribute their content and include a CC license on their WordPress website.
17+
18+
GSoC is about to end, and I am excited that we have the plugin ready with all the possible attribution features.
19+
We had a stable version of the plugin up and running in the last phase. This allowed us to use it and
20+
look for possible improvements and increments. We managed to get a handful of suggestions and feedback
21+
from some users, which turned out quite applicable. First, let's take a quick look at the releases in
22+
this phase and their changelogs.
23+
24+
### Releases
25+
26+
#### v2019.7.2
27+
28+
- Bug fixes.
29+
- New license selection settings.
30+
- Old license chooser removed and plugin linked to the [current chooser](https://creativecommons.org/choose/)
31+
- Plugin settings page redesigned for better user experience.
32+
- New feature to add additional text after the license.
33+
- Gutenberg blocks for CC licenses redesigned.
34+
- Added customization settings for Gutenberg blocks for backend and front end.
35+
36+
#### v2019.8.1
37+
38+
- Re-wrote license widget for the plugin. Added option to display the default license
39+
as a widget or in the footer.
40+
- Refactored and improved code quality.
41+
- Submitted plugin to WordPress.org for review.
42+
43+
#### v2019.8.2
44+
45+
- All necessary Default/Site license settings added.
46+
- Plugin settings page design completed.
47+
- Rich-text components added to previously static Gutenberg blocks converted to allow attribution of any content.
48+
- Gutenberg blocks redesigned to include settings.
49+
- Security improvements.
50+
- i18n improvements.
51+
- Minor bug fixes and refinements.
52+
53+
### Blocks
54+
55+
The CC blocks are now editable with a bunch of options. We integrated rich-text in each block, which
56+
renders a rich content-editable input, providing users with the option to format the content.
57+
This makes sure that the requirements of describing the title, author and the source
58+
while using a CC licensed content can be met..
59+
60+
![CC License Block](cc-block.png)
61+
62+
### Re-designed Settings
63+
64+
The redesigned plugin settings are straightforward and have every required field. We have added widget as a display
65+
option, which is much better than previous footer implementation.
66+
67+
![Plugin Settings](settings-1.png)
68+
69+
*Selecting a license is simple and quick with a link to the chooser*
70+
71+
![Plugin Settings](settings-2.png)
72+
73+
### What's next
74+
75+
- Implement GitHub Actions or similar for automated deployment on release from GitHub to WordPress SVN directory.
76+
- Integrate WPGulp workflow and improve i18n.
77+
- Improve documentation with a visual walk-around of every feature.
78+
79+
Thank you for reading. For more, see the [GitHub repository](https://github.com/creativecommons/wp-plugin-creativecommons).
80+
81+
If you have any feedback or suggestions, let us know in the discussion on `#cc-dev-wordpress` Slack channel. Looking forward!
Loading
Loading
Loading
Loading
Loading
89.8 KB
Loading
Loading

0 commit comments

Comments
 (0)