-
Notifications
You must be signed in to change notification settings - Fork 415
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
Conversation
The group manager is accessible from the "Manage Groups" button, as in this mockup. It is implemented using the users look and feel.
|
||
require('./style/usercard.css'); | ||
|
||
const UserCard = React.createClass({ |
There was a problem hiding this comment.
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) => { |
There was a problem hiding this comment.
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({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UsersTable
Btw something that tell the user where he is should be added imho. |
This allow to distinguish the page. Also added missing i18n (FR and IT)
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:
Then you can create, search, edit and delete groups.
Create or Edit
Note: Editing allows to change only the user members, not group name or description (GeoStore do not provide this functionality).
delete