Giter Club home page Giter Club logo

wealthframework's People

Contributors

akshitbhalla avatar angelfeliz avatar augustpi avatar bugrasitemkar avatar carmenne avatar carolynlangton avatar coni2k avatar dpoehls avatar ecmeeker avatar edwardkads avatar funkysi1701 avatar gitter-badger avatar ianthine avatar internetbird avatar itsallmathematics avatar joseasotov avatar m-sekhon avatar megane-vilain avatar melkor54248 avatar nakanoer avatar osengelli avatar robaxelsen avatar ryanklee avatar sandra-dudley avatar sarahsexton avatar seannam avatar seesykescode avatar shilpavijay avatar usagitan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wealthframework's Issues

Temp fix for multiplier default value

Since the issue for the user is that when increase multiplier function used, it's creating the record with value 1, the screen doesn't change. Simply start from 2 to fix the problem temporarily.

Create a sample for InitialValue

ResourcePool InitialValue can be used in static cases, like Popular Software Licenses sample. Don't use it together with a multiplier field. Create a sample accordingly (Importance Index)?

Introduction & Basics samples have timeout issues

  1. In Introduction sample, timer starts increasing Number of Sales field of UPO CMRP. However it doesn't get stopped when we move away from the page?
  2. In Basics samples, increase opposite CMRP event can get registered multiple times?

Add username to account

. Create profile page - show users' resourcepools
. Create account page - show account related options (update username, email, password etc.)
. Update register & login accordingly
. Username based routing (/[username]/[resourcepoolkey]), which allows users to have their own urls for their resourcepools.

Save error - Cannot perform a 'setEntityState' on an entity that is in the process of being saved

What's this error? Seek & destroy!

Error: Cannot perform a 'setEntityState' on an entity that is in the process of being saved
Pt</p._checkOperation@http://wealth.forcrowd.org/Scripts/breeze.min.js?v=024:2:10754
Pt</p.setEntityState@http://wealth.forcrowd.org/Scripts/breeze.min.js?v=024:2:7220
Pt</p.setDeleted@http://wealth.forcrowd.org/Scripts/breeze.min.js?v=024:2:7056
updateElementMultiplier@http://wealth.forcrowd.org/App/services/userService.js?v=029:238:29
link/scope.resetElementMultiplier@http://wealth.forcrowd.org/App/directives/resourcePoolEditor.js?v=029:70:17

Breeze save error

Once in a while there is an error while saving the changes

Error: A MergeStrategy of 'Disallowed' does not allow you to attach an entity when an entity with the same key is already attached: UserElementCell:#BusinessObjects-2:::54

Seek & destroy!

Database updates - Merge ElementCell & UserElementCell

Merge ElementCell's & UserElementCell's StringValue, BooleanValue, IntegerValue, DecimalValue, DateTimeValue fields on UserElementCell table.

If 'UseFixedValue' is on for that field, other user's can enter any value, so Average (or Sum) of that cell is only going to contain owner's value.

Remove sample user's ratings

Earlier it was necessary to have data on sample user, so when a new user created, it was copying these ratings as default ones. But since default rating case is now handled differently, it's not necessary to have all those ratings, which are affecting the overall.

Remove 'em!

Improve performance

Especially in All in One sample, it works too slow. Increase multiplier takes seconds to update. At the background it does same calculations hundred times. Find a solution!

Fix invalid route case

If there is an invalid link, (ex. /content/invalid), it fails to go to /404 page and starts loading home page recursively, which keeps logging this error and hangs the browser;

VM681:8WARNING: Tried to load angular more than once.
VM681:21 Uncaught Error: Highcharts error #16: www.highcharts.com/errors/16

Multiplier default value

Multiplier default value is 1 at the moment.
When it's 0, index income with a sub element calculation fails. Probably it's mixing MainElement's multiplier with its own element multiplier.

Add passive index type

Currently there is only 'aggressive' index type that doesn't allocate any amount to the lowest rated item. However it doesn't fit to all cases, especially to InitialValue sample.

Index income issue

On 'not rated organizations' case, it's collecting the tax but not giving it back?
How to treat an organization that doesn't have any rating?

Naming updates

ResourcePool field -> DirectIncome field
ResourcePoolAddition -> ResourcePoolAmount
IndexIncome on Item & Element level -> CMRP Income
MultiplierValue -> Multiplier

Web project separation

Separate Web project into web (angular) client & web service.
This would allow us to better fine tune the libraries for each case.

But first solve #9

ngClient - _system folder

Move all internal resources and links (routes) under _system folder.
This is necessary to prevent future conflicts with "username" based routes (so no need check whether username is images, css, js etc. or any other possible new system folder).

Client side value caching

Especially ElementItem - multiplier() method called too many times which makes it pretty slow, improve it. But then how to update the cache, events & properties etc.?

Fix resouce pool & cell rating counts

If 'UseFixedResourcePoolRate' is true for resource pool, the user can't enter a rating. However, count is always getting increased by 1.
Same goes for elementCell & UseFixedValue.

All users & other users field calculation improvements

Currently T-SQL functions return average of rate, rating & value fields.
On business layer, OtherUsersTotal fields are calculated based on these.
And on client-side it does the final calculation.

Instead of this, T-SQL could directly calculate the Totals and send them to the client-side to handle the rest.

Use Composite Keys for User level tables

Remove Id field from UserResourcePool, UserElementFieldIndex, UserElementCell tables and use composite keys instead.

Composite key sample;

[Key]
[Column(Order = 1)]
public int LocationID { get; set; }

[Key]
[Column(Order = 2)]
public int DayID { get; set; }

Logger - Don't show info toast by default

Every time second & third params have to be entered in order to display info on console. Change the default behavior to only show the message on console, instead of displaying toast box.

Generated List & Edit view issues

These pages are not used actively at the moment, so no hurries to solve these issues.

  • In Generated Edit views, it's directly modifying the entity (model) itself. Since Cancel button only navigates back to the previous page, if there is a modification on the entity, it simply stays there, doesn't return to its original state.
  • These pages must be updated for composite key tables as well; UserResourcePool, UserElementFieldIndex, UserElementCell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.