Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1fff029
Initial ppu docs
tcaldwell-x Sep 17, 2025
a129325
update ppu ui with right icons + cool grid background
minor Sep 17, 2025
a3007fd
update name to just be pilot
minor Sep 17, 2025
957ef40
felt cute might delete later
tcaldwell-x Sep 18, 2025
246997b
hide from nav
tcaldwell-x Sep 18, 2025
346643c
add links
tcaldwell-x Sep 18, 2025
189d924
fix icon color
tcaldwell-x Sep 18, 2025
41572df
link form
tcaldwell-x Sep 18, 2025
cdf8445
fix icons
tcaldwell-x Sep 18, 2025
8f5b593
Fix mobile form
tcaldwell-x Sep 18, 2025
bcc385d
fix padding
tcaldwell-x Sep 18, 2025
ff10a4e
add eruda for debugging
tcaldwell-x Sep 18, 2025
5b958be
mobile test
tcaldwell-x Sep 18, 2025
402af4e
fix heght
tcaldwell-x Sep 18, 2025
ae3774f
height again
tcaldwell-x Sep 18, 2025
8eb56ef
test standard
tcaldwell-x Sep 18, 2025
4e7e4db
remove fixed height w/ dynamic
tcaldwell-x Sep 18, 2025
0994c9d
test
tcaldwell-x Sep 18, 2025
b61fe69
remove dynamic height
tcaldwell-x Sep 18, 2025
796194e
fixed height
tcaldwell-x Sep 18, 2025
79cc7ed
add id
tcaldwell-x Sep 18, 2025
78e5f36
remove
tcaldwell-x Sep 18, 2025
e3d39b6
.
tcaldwell-x Sep 18, 2025
c3db86d
make steps responsive
tcaldwell-x Sep 18, 2025
73951f7
.
tcaldwell-x Sep 18, 2025
20247e9
more responsive
tcaldwell-x Sep 18, 2025
09886a9
rm eruda; fix link
tcaldwell-x Sep 18, 2025
fc30f2d
if this fixes the issues ill marry cursor
tcaldwell-x Sep 18, 2025
70ecd2b
.
tcaldwell-x Sep 18, 2025
001f237
good enuff
tcaldwell-x Sep 18, 2025
deb7ec2
more responsive
tcaldwell-x Sep 18, 2025
fb316f9
Update pilot.mdx
tcaldwell-x Sep 18, 2025
1d617f4
merge
tcaldwell-x Sep 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions get-pricing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// Global variable to store pricing data
window.pricingData = {
"eventTypePricing": {
"Post": 0.005,
"User": 0.01
},
"requestTypePricing": {
"Write": 0.01
},
"defaultCost": 0.0
};

// // Fetch pricing data from X console API
// async function fetchPricingData() {
// try {
// const response = await fetch('https://console.x.com/api/credits/pricing', {
// method: 'GET',
// headers: {
// 'dtab-local': '/s/datadelivery-foundation/dev-portal-api:https=>/srv#/staging1/pdxa/datadelivery-foundation/dev-portal-api:https'
// }
// });

// if (!response.ok) {
// throw new Error(`HTTP error! status: ${response.status}`);
// }

// const data = await response.json();
// console.log('Pricing data:', data);

// // Set the global variable
// window.pricingData = data;

// return data;
// } catch (error) {
// console.error('Error fetching pricing data:', error);
// window.pricingData = null;
// }
// }

// Execute the function when the script loads
fetchPricingData();
Loading