gctools-outilsgc / gccollab-mobile Goto Github PK
View Code? Open in Web Editor NEWThe mobile app for the Government of Canada's external collaboration platform
License: MIT License
The mobile app for the Government of Canada's external collaboration platform
License: MIT License
Add navigation panel for different group pages: discussions, blogs, activity, etc..
Top right
Currently these are loaded on every page, but only accessible on the home page. This allows information about getting new message to be on every page. It also loads all the information every page. So having a lot of messages/requests/notifications would result in a lot of data every page.
Find a way to do this with less data required.
Set up activity tab for new user profile. Baseline exists from previous activity tab.
API needed to use target guid.
Implement filling of content in tab for a user. Add link to tab profile navigation. Add view more button.
Bookmarks need to be added.
They need a page listing them all, with tabs for all, colleagues, and self.
Needs a popup for the bookmark itself.
Currently events are shown the same way the majority of the cards are:
Header has the user who posted it, with Icon and Name. With it linked to ViewProfile of the poster.
Due to the nature of Events, they are not the same as Wires, Blogs, or Newsfeed items, as they are not as related to the posted user. Therefore I think we should move away from the user specific card.
Should probably go through a User Design co-worker.
My own thoughts are to have the Title of the Event in the Purple Header. Though events do not have images/icons, so the lack of icon may be odd.
As with groups it could use the group icon if posted by a group. Possibly defaulting to the poster icon if not posted in a group.
Could add an event icon for events, settable by the poster/organizer/group. This can make sense with how events are used elsewhere.
Remove the long press to see who liked a post and put in the anchor around "Likes" and link the thumb to a like functionality
Due to preloading pages, and tabs having the same names on certain pages, there is an issue where tabs will change the content on the preloaded page, not the current page.
Fix will be to change tab names to be page specific.
Wire images should show in the wire posts.
Should be able to upload images to the wire.
The activity on private groups on the website are not publicly visible. On the app they are.
The discussions on private groups on the website are not publicly visible, on the app they are.
Should have a check before getting any closed information.
Noticed while working on user profile activity, and can see happening on group profiles as well.
Going to a user or group page is always done through a link to view a specific user/group, and guid is added to url/header. The page is loaded for that group/user and filled based on that guid. With different tabs, it grabs information through API based on that guid. The ViewMore button for a tab has an onclick event added to load more content.
Issue: Going to additional user/group pages and using the ViewMore will do api calls for both the new and old instance. So it's saving the onclick events through new instances of the page.
Look at: How the pages are currently being loaded, is it the best way for a dynamic/guid based page? Is there a simple clear/reset events? Does the current myApp.onPageInit('page'
system need to be slit or moved into other framework7 functions that better suit the dynamic/guid based pages?
Should be dealt with before moving more content to pages from popups.
Groups without activity sections still have an activity tab on the app. If you go to it, it is empty of activities, but contains a "view more" button. Clicking it will make the app non responsive with an error.
Example:
https://gccollab.ca/groups/profile/6161/
https://gctools.ca/gctoolkit/#!/group.html?guid=6161
Should handle the error / not show the button or tab.
Groups with activity not activated will give and error on join/leave group. Also will not load the list of members.
working on the API
Need to add a search bar that will search through the entire platform and return all entities matching the search criteria - similar to how the site search works on the web application.
Down the road, we could add filters to this to allow users to search by entity type (Users, Blogs, Opportunities, etc.)
Members and Opportunities has a smart-filter to search types. Both are in pop-ups and do not function at all. Non responsive to any clicks.
They have been temporary hidden while the feature is not working.
Issue might be from the smart-select being inside a popup and requiring an initialized view to work.
Just a note, so low priority, and just a reference if an issue comes up.
As figured out by the tab issue #82 the preloading of past pages can bring complications. As the app becomes more fleshed out there may be more room for same type pages interacting and causing issues with which duplicate IDs existing.
Simple fix while the topic is already in my mind: javascript change attr id to also reference the guid of the object. As elgg guid is unique, it should fix any issues.
Comments for everything that has comments.
Continue refactoring the 'each' content to reduce code repetition, to produce consistent outcomes, and make it easier to implement changes.
Using GCTEach.typename functions.
List for both GetOpportunity and GetOpportunities
mission-job-type
as jobType
- ex Collaboration (offering)
and Student Integration (seeking)
apply by
program area
List for GetOpportunity only
All the Opportunity Details and other info, example: https://gccollab.ca/missions/view/348023
Opportunity Details:
Program area: Information Technology
Number of opportunities: 4
Ideal start date: 2018-02-12
Ideal completion date: 2018-05-02
Application deadline: 2018-02-14
The opportunity can be completed virtually: Yes
Is this opportunity only available within ? No
Location of opportunity: National Capital Region
Security level: Reliability
Skills sought in candidate: Writing, Graphic Design, Web Accessibility, User Interface Design, Research, User Experience
Language requirements:
None required
Scheduling requirements:
Time commitment: 6 hours per week
Time zone: Canada/Eastern (-5)
Wednesday: 13:30 to 01:30
With not all groups having Activities, and private groups having them but they should not be visible, I am questioning the position of the activities being a tab on the groups page.
On top of this we are also adding more functionality, such as with group discussions, and all other future functionalities we should link/button/tab onto groups.
I think we might want to discuss and decide how the finally layout should look like. Should probably involve some UX/UI co-workers.
For listed content, such as a user's bookmarks, I think it makes more sense to say End of Content rather than No Matches. It also allows more flexibility about when we enter the card. By going with End of Content I can use a conditional to remove the View More button if the content received from API is less than we asked for. This would remove the user clicking View More just to get a "No Matches" response. (Except in the situation where we content lines up perfectly with the limit)
https://dequeuniversity.com/rules/axe/2.6/meta-viewport?application=AxeChrome
The document must not use the user-scalable=no parameter in the element because it disables text scaling and zooming which is essential to users with low vision.
Also wants a max scale of at least 5.
Not sure on the impact of allowing zoom will cause on the app.
Looking at posts elsewhere, phonegap stuff might need to be changed to allow zoom as well.
Javascript shows on current popup for a discussion. Copy change from newsfeed a while ago.
Groups that have sub-groups should have them listed somewhere.
Groups that are sub-groups should have the parent listed somewhere.
If you fail to login it always gives the same message.
**Error**
You have entered an invalid username or password.
At no point does it notice that the account is locked from too many failures. GCCollab message for a locked account is
Your account has been locked for too many login failures.
To avoid user confusion it should probably be able to handle and properly inform about the locked account situation.
User Profile current uses the template user card background, and groups uses a blank white background. Profiles should have a similar look that goes best with the rest of GCcollab.
Probably stay away from the GCcollab purple, heavy use already.
The username/email and password form fields need labels, says aXe.
For filter options on Groups, filtering by name will filter based on the name field matching either the group name or the group description. (This name label and broad search is visible on other searches as well).
This can lead to a user's filter to result in a much larger list, when the user just wants a specific group.
API needed to use target guid.
Implement filling of content in tab for a user. Add link to tab profile navigation. Add view more button.
Implement current planned look on group
or user profile pages
to test functionality and deal with any CSS or framework7 features needed. Get opinion on user experience.
Implement planned layout to all non-popup pages.
Move more objects towards dynamic/guid based pages and away from popups so we can use new layout.
Discussions with replies error. Discussion replies are being returned but not handled.
Comments are working, but are implemented with the default card design from other entities. Should probably have something simpler and smaller. Maybe similar to the way activities on profiles look.
Group Activity will show all the activity when loaded. Then view more loads the complete activity repeatedly. API not caring about limit probably?
Searching for GCcollab Café
does not show the group. Searching for GCcollab Cafe
does not show the group. GCcollab Caf
does show the group.
Handling of characters.
Tab to look at a user's colleagues.
Doing this will probably require IDs to have GUIDs added to them, as you will be able to go from a user profile to a user profile, and the default div IDs will be the same. Which may cause issues as noted in #86
With the full user page added, the popup will be changed to a sheet modal, and only show some basic information, and link to the user's full profile.
Gives the user the target users basic information without having to load their full profile.
Name, Job, Department, basic description.
Groups have bookmarks, should have a link to them.
get bookmark Owner api should accept the group guid.
Error on accessing group's members page.
Happens on GCcollab Jobs Marketplace
and The Policy Community
so may be from the number of members they have.
Does not happen on Canada - Indigenous Relations:
which is the 3rd largest.
Does happen on GCcollab Group Owners' and Operators' Corner
the 4th largest.
Does not happen on Canada Beyond 150
the 5th largest.
Does not happen on The Future of Government
the 6th largest.
Does happen on GCcollab Café
the 7th largest.
Does happen on Intelli: The Latest on Public Sector Innovation
the 8th largest.
Does not happen on Social Innovation
the 9th largest.
Does happen to Talent Cloud
the 10th largest.
Uncaught TypeError: Cannot use 'in' operator to search for '47' in Group was not found. Please try a different GUID
Some of the User Feedback does not like the view button, as a click through on the general card should do that anyways.
Add click through on the card-content, or the whole card if it makes sense.
Just need to be careful with the txt functions that involve the card and post versions, conditional should work fine.
Blogs can be posted directly to profiles, instead of to a group. On GCCollab you can view a user's blog posts from their profile. While the blogs page does not have a filter to search a specific user, as the profile covers that functionality.
So within the app how should we approach viewing blogs posted to a user's profile?
At the least there should be a way to reach a user's blog posts from their profile.
API already takes a target guid.
Implement filling of bookmarks tab for a user. Add bookmarks to profile navigation. Add view more button.
Admin accounts should have an option to delete content.
All the list pages with content cards/objects need the profile icon to have alt text.
As we add and need to add more things to User Profiles we should utilize a navigation system.
Currently just have three tabs.
If group navigation is good enough, reuse that.
I've added a few places where there is a site
link to the in-app browser version of a page. Currently these run through FireLink because it already has a catch for collab pages to open up within the in-app browser.
Though, that is at the end of FireLink, and if firelink handles a certain page that we want to open with in-app browser (blogs) we could not with this method.
Since the site links will only be placed on cards/pop-ups with all information already known, the functionality should run in it's own function to be used when needed.
Create a full profile page, separate from the current popup. By having the full profile we can give popups of the user's content without losing the profile due to also being a popup.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.