Giter Site home page Giter Site logo

visualforce-field-history's People

Contributors

capeterson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

visualforce-field-history's Issues

No support for standard objects

A string replacement of __c for __History is done internally, which doesn't work properly for standard objects. If you need standard object support comment on this issue and I'll get around to fixing that.

Add special logic to show opportunities

Contacts are linked to opportunities by contact role objects, which don't have a label and aren't displayed.

We should add a special case so when these objects are seen a history event is added to the list,

Excessive SOQL use

The way SOQL queries are run - by iterating over the child objects and running a query for each - is very inefficient against governor limits, in particular the total number of SOQL queries.

The child object query functionality should be changed to run multiple subqueries for child objects rather than totally separate SOQL queries. This should cut the amount of resources and DB load down dramatically on complex objects with a large number of relationships.

Display should be (optionally) paginated

To make things more efficient we should really use standard set controllers to page the results, or use DateTime offsets in our queries. This should drop the viewstate use and increase speed dramatically on larger history lists.

Also while we're at it most of the component controller can probably become transient to speed things up as well.

Add an option to show lookup values as current name

Currently lookup and master detail fields usw the name of the related record at the time the field was edited, directly from the history table.

An option should be added to show record names as they exist at runtime, that is the current namw of the record instead of the name of the record at the time of the change.

Sent via Hubroid

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.