Open johntseng opened 9 years ago
I think we could do this with some sort of callback passed in to onPage/SortChange similar to what gulp does to end tasks.
Agreed. We could just add an optional callback to these methods and a config setting to turn on a loading animation. The visualization could be a configurable class that's added/removed so it can be customized. So now the only question is which animated gif are we going to ship for this? :)
Where's a good position to place the visual? Anywhere on the table will look awkward, and outside of the table is outside the scope of tc-grid
the whole grid going to a spinner?
On Wed, May 13, 2015 at 9:25 AM, Zach-Barnes-Volusion < notifications@github.com> wrote:
Where's a good position to place the visual? Anywhere on the table will look awkward, and outside of the table is outside the scope of tc-grid
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-101685094 .
What about graying out the grid and overlaying a loading indicator in the middle of it?
That's what I was suggesting. On May 14, 2015 8:48 AM, "Zach Barnes" notifications@github.com wrote:
What about graying out the grid and overlaying a loading indicator in the middle of it?
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102042834 .
Oh okay, I thought you mean replacing the grid with a loading indicator.
On Thu, May 14, 2015 at 8:53 AM Sean Goodpasture notifications@github.com wrote:
That's what I was suggesting. On May 14, 2015 8:48 AM, "Zach Barnes" notifications@github.com wrote:
What about graying out the grid and overlaying a loading indicator in the middle of it?
— Reply to this email directly or view it on GitHub < https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102042834
.
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102043908 .
That's an implementation detail ;) On May 14, 2015 8:54 AM, "Zach Barnes" notifications@github.com wrote:
Oh okay, I thought you mean replacing the grid with a loading indicator.
On Thu, May 14, 2015 at 8:53 AM Sean Goodpasture <notifications@github.com
wrote:
That's what I was suggesting. On May 14, 2015 8:48 AM, "Zach Barnes" notifications@github.com wrote:
What about graying out the grid and overlaying a loading indicator in the middle of it?
— Reply to this email directly or view it on GitHub <
https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102042834
.
— Reply to this email directly or view it on GitHub < https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102043908
.
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102044043 .
My 2 cents opinion on this would be a pure CSS approach if possible. If the hosting app has a standard for their loading indicators, and if it were CSS as well, they could just give us their class to override our default class.
agreed.
On Thu, May 14, 2015 at 9:31 AM, Tim Jones notifications@github.com wrote:
My 2 cents opinion on this would be a pure CSS approach if possible. If the hosting app has a standard for their loading indicators, and if it were CSS as well, they could just give us their class to override our default class.
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102053122 .
Agreed. However, I'm not sure how we can do a pure unicode loading indicator.
On Thu, May 14, 2015 at 9:31 AM Tim Jones notifications@github.com wrote:
My 2 cents opinion on this would be a pure CSS approach if possible. If the hosting app has a standard for their loading indicators, and if it were CSS as well, they could just give us their class to override our default class.
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102053122 .
You can have it be a background image...
On Thu, May 14, 2015 at 9:35 AM, Zach Barnes notifications@github.com wrote:
Agreed. However, I'm not sure how we can do a pure unicode loading indicator.
On Thu, May 14, 2015 at 9:31 AM Tim Jones notifications@github.com wrote:
My 2 cents opinion on this would be a pure CSS approach if possible. If the hosting app has a standard for their loading indicators, and if it were CSS as well, they could just give us their class to override our default class.
— Reply to this email directly or view it on GitHub < https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102053122
.
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102054010 .
Yes, but that's not a pure CSS implementation ;)
Sure it is... it's just a class that someone puts together... We're not expecting an image.
On Thu, May 14, 2015 at 9:37 AM, Zach Barnes notifications@github.com wrote:
Yes, but that's not a pure CSS implementation ;)
— Reply to this email directly or view it on GitHub https://github.com/ThirdCornerLLC/tc-grid/issues/19#issuecomment-102054982 .
data URIs ftw
Can we show something to indicate that the grid is loading?