Kailash Kejriwal activity https://gitlab.com/kailash360 2022-02-26T15:18:59Z tag:gitlab.com,2022-01-27:1688460455 Kailash Kejriwal opened merge request !30: Enhanced results display at aossie / agora-blockchain 2022-01-27T18:46:04Z kailash360 Kailash Kejriwal

Description

I have added a bar chart under the Election Analytics section using the recharts library.

image

Fixes #19

Type of change

Please mark the options that are relevant.

  • Updated UI/UX
  • Improved the business logic of code
  • Added new feature
  • Other

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
tag:gitlab.com,2022-01-27:1688455530 Kailash Kejriwal pushed new project branch results-display-19 at Kailash Kejriwal / agora-blockchain 2022-01-27T18:43:01Z kailash360 Kailash Kejriwal

Kailash Kejriwal (3832f9f8) at 27 Jan 18:43

Added charts

... and 8 more commits

tag:gitlab.com,2022-01-26:1686078611 Kailash Kejriwal commented on merge request !135 at LibreHealth / LibreHealth Toolkit / lh-toolkit-webcomponents 2022-01-26T18:57:02Z kailash360 Kailash Kejriwal

The changes have been made in accordance to the design proposed here: https://www.figma.com/file/Y1h1jmLku3LgPQitnmOQWY/gsoc-workflows?node-id=2%3A11694

the modifications are a continuation of the proposal of implementing ehr-workflows.

I have made the changes such that the application matches with the design. Some improvements were limited (like modifying existing lh-toolkit web-components such as the form to add a patient, edit a patient), because the web-components are not customizable.

tag:gitlab.com,2022-01-26:1684693913 Kailash Kejriwal commented on merge request !135 at LibreHealth / LibreHealth Toolkit / lh-toolkit-webcomponents 2022-01-26T08:42:58Z kailash360 Kailash Kejriwal

@sunbiz I have made the following changes:

  • Improved navigation tab
  • Improved background of the individual search section and, and new patient section
  • Fixed the table display
  • Previously the pagination buttons for the table, were active if there was only a single page. Now, they are active only if multiple pages exists, and the previous-page button disables at the first page, and the next-page button disables at the last page.

Demo after changes: https://vimeo.com/658867190

tag:gitlab.com,2022-01-24:1680748386 Kailash Kejriwal commented on issue #11 at aossie / agora-blockchain 2022-01-24T14:07:52Z kailash360 Kailash Kejriwal

In order to implement multiple algorithms for elections, we can do the following:

How it will work

Organizer

  1. Will have a ability to choose between different algorithms while creating the election,
  2. Will display the election algorithm type in the election row, and in the election page itself.

Voter

  1. Will get different voting modals on their screen, based on the election type, with each modal carrying the func of a unique algorithm

Implementing

  1. As mentioned in the issue, there is going to be different smart contracts for different algorithms
  2. There will be the common Election.sol smart contract that will include the common functions like election information, candidate information, adding candidate function etc to prevent redundancy
  3. This contract will import all the algorithm-specific contracts, and the functionality to be used can be differentiated using a switch statement. This will also allow addition of more algorithms in the future.

what are your views on it?

tag:gitlab.com,2022-01-24:1680711443 Kailash Kejriwal commented on issue #16 at aossie / agora-blockchain 2022-01-24T13:53:43Z kailash360 Kailash Kejriwal

@rranjan01234, I have made PR !29 for this issue

tag:gitlab.com,2022-01-24:1680709139 Kailash Kejriwal opened merge request !29: Added functionality to disable vote button after user has voted at aossie / agora-blockchain 2022-01-24T13:52:47Z kailash360 Kailash Kejriwal

Description

I have added a state hasVoted in the VoteModal component. This state signifies whether the user has already voted or not. By default, it is set to false, and once the user votes, it is set to true. Also, I have used the React useEffect hook to update the state, in case the user has already voted and revisits the page.

Fixes #16

Type of change

Please mark the options that are relevant.

  • Updated UI/UX
  • Improved the business logic of code
  • Added new feature
  • Other

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Video

tag:gitlab.com,2022-01-24:1680695091 Kailash Kejriwal pushed new project branch disable-voted at Kailash Kejriwal / agora-blockchain 2022-01-24T13:47:28Z kailash360 Kailash Kejriwal

Kailash Kejriwal (c54047e6) at 24 Jan 13:47

Added functionality to disable vote button after user has voted

... and 8 more commits

tag:gitlab.com,2022-01-24:1680289337 Kailash Kejriwal commented on issue #19 at aossie / agora-blockchain 2022-01-24T10:53:03Z kailash360 Kailash Kejriwal

I would like to work on this issue.

tag:gitlab.com,2022-01-24:1680287655 Kailash Kejriwal opened issue #19: Enhance results display at aossie / agora-blockchain 2022-01-24T10:52:20Z kailash360 Kailash Kejriwal
name: Enhance result's display
about: Enhancing the display of the results section
title: "[Enhance result's display]"
labels: new-feature
assignees: ""

Describe the purpose Currently, the results section displays only the winner of the election, and that too just the name. It would be better if a proper analytics of the election is displayed in the same section using graphs. This will enhance the user experience and provide with more details of the election, and make the UI more appealing.

image

Possible Implementation The recharts package can be used to generate the different bar graphs. Since candidates array in the Election.sol is a public variable, it can be accessed using a get method and, and the response from this method can be used to feed the data of the candidates in those bar graphs.

tag:gitlab.com,2022-01-18:1671094363 Kailash Kejriwal commented on issue #16 at aossie / agora-blockchain 2022-01-18T19:52:47Z kailash360 Kailash Kejriwal

@rranjan01234 Is someone working on this issue? If not, I would love to work on it.

tag:gitlab.com,2022-01-13:1662387241 Kailash Kejriwal commented on merge request !135 at LibreHealth / LibreHealth Toolkit / lh-toolkit-webcomponents 2022-01-13T10:57:03Z kailash360 Kailash Kejriwal

@geforce6t I have made some fixes. Is it mergeable now?

tag:gitlab.com,2022-01-11:1659064477 Kailash Kejriwal pushed to project branch main at Kailash Kejriwal / glory-of-gladiators 2022-01-11T21:40:22Z kailash360 Kailash Kejriwal

Kailash Kejriwal (4f04ceb6) at 11 Jan 21:40

Upload New File

tag:gitlab.com,2022-01-11:1659064191 Kailash Kejriwal pushed to project branch main at Kailash Kejriwal / glory-of-gladiators 2022-01-11T21:40:08Z kailash360 Kailash Kejriwal

Kailash Kejriwal (79705f92) at 11 Jan 21:40

Upload New File

tag:gitlab.com,2022-01-11:1659063960 Kailash Kejriwal pushed to project branch main at Kailash Kejriwal / glory-of-gladiators 2022-01-11T21:39:53Z kailash360 Kailash Kejriwal

Kailash Kejriwal (2f93be6a) at 11 Jan 21:39

Upload New File

tag:gitlab.com,2022-01-11:1659063710 Kailash Kejriwal pushed to project branch main at Kailash Kejriwal / glory-of-gladiators 2022-01-11T21:39:38Z kailash360 Kailash Kejriwal

Kailash Kejriwal (a7ccd38a) at 11 Jan 21:39

Upload New File

tag:gitlab.com,2022-01-11:1659063416 Kailash Kejriwal pushed to project branch main at Kailash Kejriwal / glory-of-gladiators 2022-01-11T21:39:22Z kailash360 Kailash Kejriwal

Kailash Kejriwal (0a433152) at 11 Jan 21:39

Upload New File

tag:gitlab.com,2022-01-11:1659063032 Kailash Kejriwal pushed to project branch main at Kailash Kejriwal / glory-of-gladiators 2022-01-11T21:38:58Z kailash360 Kailash Kejriwal

Kailash Kejriwal (95b1c811) at 11 Jan 21:38

Upload New File