Comments (3)
Absolutely - I understand why you may have had some confusion. So load-panel is definitely used for loading search panels, etc. Also, there is another use for load-panel, where sometimes in a layout we want to dynamically load a panel template via AJAX. This is something where the background page would load, and then there would be an area with a loading spinner which then loads in the requested panel. This can load in panels which are un-related to the feeds.
Load-panel could be used for loading any type of panel aka widget especially which might otherwise require some more querying, and you won't want to hold-up the page load, so it's better to put in a loading spinner while it loads.
Does this make sense?
from postworld.
Yes. That's good news. I only need to do a little bit of refactoring to the
one i created.
I want to make sure it is generic to serve the purpose above, but at the
same time make sure it can be used for search panels. which it already does.
This is the same case as in live-feed/load-feed.
Only few tweaks and they will be both ready.
On Mon, Oct 7, 2013 at 6:36 PM, phong [email protected] wrote:
Absolutely - I understand why you may have had some confusion. So
load-panel is definitely used for loading search panels, etc. Also, there
is another use for load-panel, where sometimes in a layout we want to
dynamically load a panel template via AJAX. This is something where the
background page would load, and then there would be an area with a loading
spinner which then loads in the requested panel. This can load in panels
which are un-related to the feeds.Load-panel could be used for loading any type of panel aka _widget_especially which might otherwise require some more querying, and you won't
want to hold-up the page load, so it's better to put in a *loading spinner
- while it loads.
Does this make sense?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-25824044
.
from postworld.
Good to hear.
from postworld.
Related Issues (20)
- get_user_points_voted_to_posts() Defunct Due to DB Schema Change HOT 4
- pw_get_templates - Access in Controller HOT 2
- pw_query() PHP Method - Not querying on post_format HOT 7
- Post Points Functions HOT 3
- Voting Error After DB Import
- Deleted Posts in Cached Feed Outline HOT 8
- Comments not being assigned post_id HOT 5
- load-feed Ad-blocks appearing at top before post templates loaded HOT 2
- jsVars Depreciated in favor of pwGlobals
- Comments Sorting HOT 12
- Search Query - "undefined" value HOT 7
- grab_image() Causing Error on Staging server HOT 3
- pw_query Fields Parameter not Registering HOT 1
- Search Page - Anonymous user HOT 1
- pw_query() returns empty if no post_type parameter HOT 2
- filter Feed Query Vars : author_name field not populating from URL HOT 7
- Edit Comment - Read Raw Data by AJAX HOT 15
- Comments Performance HOT 5
- Social Media Share Buttons - Make automatically use Share Link
- Create default '0' user points / karma value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postworld.