Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1193. Implementation of Group Manager #1289

Merged
merged 5 commits into from
Nov 24, 2016

Conversation

offtherailz
Copy link
Member

@offtherailz offtherailz commented Nov 22, 2016

The group manager is accessible from the "Manage Groups" button, as in this mockup:
http://lf.mapstore2.geo-solutions.it/samples/map/manager.html

It is implemented using the users look and feel.
Access from here:
image
Then you can create, search, edit and delete groups.
image

Create or Edit

image
image

Note: Editing allows to change only the user members, not group name or description (GeoStore do not provide this functionality).

delete

image

The group manager is accessible from the "Manage Groups" button, as in this mockup.
It is implemented using the users look and feel.
@offtherailz
Copy link
Member Author

Only one thing doesn't seems immediate for a user.
The pages of the users and the groups are very similar. This means that the user can be confused.

image
image

Should we indicate somewhere on the top that we are watching users (or groups) page? Like this:
image

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 80.214% when pulling 51ae99b on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@offtherailz
Copy link
Member Author

Just set the "new" buttons to green, both for user and group manager as it is in the mockup.
image

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 80.307% when pulling db4a157 on offtherailz:i1193 into 64e174c on geosolutions-it:master.


require('./style/usercard.css');

const UserCard = React.createClass({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GroupCard

}}><Message msgId="usergroups.noUsers"/></div>);
}
// NOTE: faking group Id
return (<UsersTable users={members.sort((u1, u2) => u1.name > u2.name)} onRemove={(user) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sort is mutating members, can we avoid it?

const React = require('react');
const {Button, Glyphicon, Table, OverlayTrigger, Tooltip} = require('react-bootstrap');
const Message = require('../../I18N/Message');
var UsersGrid = React.createClass({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UsersTable

@MV88
Copy link
Contributor

MV88 commented Nov 22, 2016

Btw something that tell the user where he is should be added imho.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 80.307% when pulling cddae51 on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@offtherailz
Copy link
Member Author

About the title, it is ok?

groups-users-ms2

This allow to distinguish the page. Also added missing i18n (FR and IT)
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 80.307% when pulling eeb64e3 on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 80.299% when pulling eeb64e3 on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@offtherailz offtherailz merged commit 56df40b into geosolutions-it:master Nov 24, 2016
@offtherailz offtherailz deleted the i1193 branch January 26, 2018 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants